patch-2.4.0-test5 linux/net/ipv4/ip_sockglue.c
Next file: linux/net/ipv4/ipconfig.c
Previous file: linux/net/ipv4/ip_options.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 18 16:09:27 2000
- Orig file:
v2.4.0-test4/linux/net/ipv4/ip_sockglue.c
- Orig date:
Mon Jul 10 16:47:28 2000
diff -u --recursive --new-file v2.4.0-test4/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -429,7 +429,7 @@
}
opt = xchg(&sk->protinfo.af_inet.opt, opt);
if (opt)
- kfree_s(opt, sizeof(struct ip_options) + opt->optlen);
+ kfree(opt);
break;
}
case IP_PKTINFO:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)