patch-2.1.86 linux/net/core/rtnetlink.c

Next file: linux/net/core/skbuff.c
Previous file: linux/net/core/profile.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/core/rtnetlink.c linux/net/core/rtnetlink.c
@@ -254,7 +254,7 @@
 		return;
 
 	if (rtnetlink_fill_ifinfo(skb, dev, type, 0, 0) < 0) {
-		kfree_skb(skb, 0);
+		kfree_skb(skb);
 		return;
 	}
 	NETLINK_CB(skb).dst_groups = RTMGRP_LINK;
@@ -454,10 +454,10 @@
 			if (skb->len)
 				skb_queue_head(&sk->receive_queue, skb);
 			else
-				kfree_skb(skb, FREE_READ);
+				kfree_skb(skb);
 			break;
 		}
-		kfree_skb(skb, FREE_READ);
+		kfree_skb(skb);
 	}
 
 	rtnl_shunlock();

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