summaryrefslogtreecommitdiffstats
path: root/src/net/ipv6.c
diff options
context:
space:
mode:
authorMichael Brown2007-08-23 22:51:57 +0200
committerMichael Brown2007-08-23 22:51:57 +0200
commit746d0f8febe166a3d5bad03a84ca4e33d1bcfe34 (patch)
tree8fb0d6d2d7066bdbc54f3540fa9564c0ad290127 /src/net/ipv6.c
parentAuto-assign drive number only if set to 0xff; almost all applications (diff)
parentuse malloc attribute (diff)
downloadipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.tar.gz
ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.tar.xz
ipxe-746d0f8febe166a3d5bad03a84ca4e33d1bcfe34.zip
Merge commit 'holger/strings'
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r--src/net/ipv6.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index a91cb069..c07ff94c 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -52,11 +52,10 @@ static LIST_HEAD ( miniroutes );
* @v gateway Gateway address (or ::0 for no gateway)
* @ret miniroute Routing table entry, or NULL
*/
-static struct ipv6_miniroute * add_ipv6_miniroute ( struct net_device *netdev,
- struct in6_addr prefix,
- int prefix_len,
- struct in6_addr address,
- struct in6_addr gateway ) {
+static struct ipv6_miniroute * __malloc
+add_ipv6_miniroute ( struct net_device *netdev, struct in6_addr prefix,
+ int prefix_len, struct in6_addr address,
+ struct in6_addr gateway ) {
struct ipv6_miniroute *miniroute;
miniroute = malloc ( sizeof ( *miniroute ) );