]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: {ip,nf}_conntrack_netlink: fix expectation notifier unregistration
authorMartin Josefsson <gandalf@wlug.westbo.se>
Sat, 1 Apr 2006 10:24:48 +0000 (02:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Apr 2006 10:24:48 +0000 (02:24 -0800)
commitfca2dc23c88b584a53ea5b53c321d1b296e6f0ba
treed02293d403fa6d0fdf82a4ea55244f328b37fde4
parent72a0457d91619e640d840a10ef03064dedb507a3
[NETFILTER]: {ip,nf}_conntrack_netlink: fix expectation notifier unregistration

This patch fixes expectation notifier unregistration on module unload to
use ip_conntrack_expect_unregister_notifier(). This bug causes a soft
lockup at the first expectation created after a rmmod ; insmod of this
module.

Should go into -stable as well.

Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c
net/netfilter/nf_conntrack_netlink.c