]> git.karo-electronics.de Git - linux-beck.git/commit
[TCP]: Fix oops caused by tcp_v4_md5_do_del
authorLeigh Brown <leigh@solinno.co.uk>
Mon, 18 Dec 2006 01:12:30 +0000 (17:12 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:25 +0000 (21:59 -0800)
commit8228a18dd30f5c988b722495ea6c25cb1d2be035
tree20469a1ca9989d399d175f138e9b6d1c33c5f1af
parentd8172d822fb02d5c4f7508e41f9267428dd3d891
[TCP]: Fix oops caused by tcp_v4_md5_do_del

md5sig_info.alloced4 must be set to zero when freeing keys4, otherwise
it will not be alloc'd again when another key is added to the same
socket by tcp_v4_md5_do_add.

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c