Alan Cox writes: “This should fix the bugtraq reported DoS
attack in all 2.2 kernels”.
[ We haven’t received any BUGTRAQ reports yet about this, so
patch your kernel quickly! -dw ]
--- ../linux.vanilla/net/ipv4/ip_options.c Wed May 12 16:49:38 1999
+++ net/ipv4/ip_options.c Tue Jun 1 22:11:46 1999
@@ -452,7 +452,6 @@
error:
if (skb) {
icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((pp_ptr-iph)<<24));
- kfree_skb(skb);
}
return -EINVAL;
}