]> err.no Git - linux-2.6/commit
[NETFILTER]: ip{6}_queue: prevent unregistration race with nfnetlink_queue
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:20:54 +0000 (20:20 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:51:08 +0000 (15:51 -0700)
commit210a9ebef2d1bd32d9e9d81c84d538e237769cdb
treeb4ad1d992f137020333090c0fae6c898ee77fe5b
parentf682faefb8c6045468c4cf0fe435128352683c22
[NETFILTER]: ip{6}_queue: prevent unregistration race with nfnetlink_queue

Since nfnetlink_queue can override ip{6}_queue as queue handlers, we
can no longer blindly unregister whoever is registered for PF_INET[6],
but only unregister ourselves.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_queue.c
net/ipv6/netfilter/ip6_queue.c