[NETFILTER] fix leak of fragment queue at unloading nf_conntrack_ipv6
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Mon, 14 Nov 2005 23:28:45 +0000 (15:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2005 23:28:45 +0000 (15:28 -0800)
commit302fe1758d85ad9c868e77625f61b7edad106381
treeb3b9a6a356c0f59f871d55353f727250a8c74e51
parent1ba430bc3e243d38c0bb2b185bea664b04fc59df
[NETFILTER] fix leak of fragment queue at unloading nf_conntrack_ipv6

This patch makes nf_conntrack_ipv6 free all IPv6 fragment queues at module
unloading time.  Also introduce a BUG_ON if we ever again have leaks in
the memory accounting.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/nf_conntrack_reasm.c