|
@@ -39,10 +39,9 @@ static LIST_HEAD ( frag_buffers );
|
39
|
39
|
* @v gateway Gateway address (or @c INADDR_NONE for no gateway)
|
40
|
40
|
* @ret miniroute Routing table entry, or NULL
|
41
|
41
|
*/
|
42
|
|
-static struct ipv4_miniroute * add_ipv4_miniroute ( struct net_device *netdev,
|
43
|
|
- struct in_addr address,
|
44
|
|
- struct in_addr netmask,
|
45
|
|
- struct in_addr gateway ) {
|
|
42
|
+static struct ipv4_miniroute * __malloc
|
|
43
|
+add_ipv4_miniroute ( struct net_device *netdev, struct in_addr address,
|
|
44
|
+ struct in_addr netmask, struct in_addr gateway ) {
|
46
|
45
|
struct ipv4_miniroute *miniroute;
|
47
|
46
|
|
48
|
47
|
DBG ( "IPv4 add %s", inet_ntoa ( address ) );
|