patch-2.3.5 linux/net/ipv4/ip_options.c

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

diff -u --recursive --new-file v2.3.4/linux/net/ipv4/ip_options.c linux/net/ipv4/ip_options.c
@@ -452,7 +452,6 @@
 error:
 	if (skb) {
 		icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((pp_ptr-iph)<<24));
-		kfree_skb(skb);
 	}
 	return -EINVAL;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)