[NETFILTER]: nfnetlink_queue: don't unregister handler of other subsystem
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Sun, 8 Jul 2007 05:40:08 +0000 (22:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:18:21 +0000 (22:18 -0700)
commitce7663d84a87bb4e1743f62950bf7dceed723a13
tree3c1b16e33913199da3181b92ed7dc0fbb6e0aa64
parent0d53778e81ac7af266dac8a20cc328328c327112
[NETFILTER]: nfnetlink_queue: don't unregister handler of other subsystem

The queue handlers registered by ip[6]_queue.ko at initialization should
not be unregistered according to requests from userland program
using nfnetlink_queue. If we allow that, there is no way to register
the handlers of built-in ip[6]_queue again.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
net/netfilter/nf_queue.c
net/netfilter/nfnetlink_queue.c