patch-1.3.60 linux/net/ipv4/ip_output.c

Next file: linux/net/ipv4/ipmr.c
Previous file: linux/net/ipv4/ip_input.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -1040,6 +1040,7 @@
 	struct sockaddr_in *s;
 	if(skb==NULL)
 		return;
+	skb->free=1;
 	nrt=(struct netlink_rtinfo *)skb_put(skb, sizeof(struct netlink_rtinfo));
 	nrt->rtmsg_type=msg;
 	s=(struct sockaddr_in *)&nrt->rtmsg_dst;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this