patch-2.1.87 linux/net/core/neighbour.c

Next file: linux/net/ipv4/devinet.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/net/core/neighbour.c linux/net/core/neighbour.c
@@ -1127,7 +1127,7 @@
 		return;
 
 	if (neigh_fill_info(skb, n, 0, 0, RTM_GETNEIGH) < 0) {
-		kfree_skb(skb, 0);
+		kfree_skb(skb);
 		return;
 	}
 	nlh = (struct nlmsghdr*)skb->data;
@@ -1147,7 +1147,7 @@
 		return;
 
 	if (neigh_fill_info(skb, n, 0, 0, RTM_NEWNEIGH) < 0) {
-		kfree_skb(skb, 0);
+		kfree_skb(skb);
 		return;
 	}
 	nlh = (struct nlmsghdr*)skb->data;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov