]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] Fix TCP IPV6 MD5 bug.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 25 Jul 2007 04:47:05 +0000 (21:47 -0700)
committerWilly Tarreau <w@1wt.eu>
Sat, 25 Aug 2007 15:24:01 +0000 (17:24 +0200)
commitc3338ef326869755751ae61897c5b475439f557d
treecc0a9f107463b37bfaf1283a059bffd2875253f2
parent924208714f0952c9db54121b99b885760917ef57
[PATCH] Fix TCP IPV6 MD5 bug.

[TCPv6] MD5SIG: Ensure to reset allocation count to avoid panic.

After clearing all passwords for IPv6 peers, we need to
set allocation count to zero as well as we free the storage.
Otherwise, we panic when a user trys to (re)add a password.

Discovered and fixed by MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/ipv6/tcp_ipv6.c