|
@@ -55,11 +55,10 @@ static LIST_HEAD ( miniroutes );
|
55
|
55
|
* @v gateway Gateway address (or ::0 for no gateway)
|
56
|
56
|
* @ret miniroute Routing table entry, or NULL
|
57
|
57
|
*/
|
58
|
|
-static struct ipv6_miniroute * add_ipv6_miniroute ( struct net_device *netdev,
|
59
|
|
- struct in6_addr prefix,
|
60
|
|
- int prefix_len,
|
61
|
|
- struct in6_addr address,
|
62
|
|
- struct in6_addr gateway ) {
|
|
58
|
+static struct ipv6_miniroute * __malloc
|
|
59
|
+add_ipv6_miniroute ( struct net_device *netdev, struct in6_addr prefix,
|
|
60
|
+ int prefix_len, struct in6_addr address,
|
|
61
|
+ struct in6_addr gateway ) {
|
63
|
62
|
struct ipv6_miniroute *miniroute;
|
64
|
63
|
|
65
|
64
|
miniroute = malloc ( sizeof ( *miniroute ) );
|