]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/netfilter/nf_conntrack_netlink.c
[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)
commite64a70be5175ac2c209fa742123a6ce845852e0e
treed02293d403fa6d0fdf82a4ea55244f328b37fde4
parentbcd1e830a5ac37d708647d492a1436a8a9babb07
[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