]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_queue: remove unnecessary hook existance check
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 09:23:41 +0000 (01:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:08 +0000 (14:56 -0800)
commitfb46990dba94866462e90623e183d02ec591cf8f
tree00d0529ce32d3fabeaba09a9b29fd3a22c06aaf1
parent8b1cf0db2aced837fcd50072e81e32c5836a1ee1
[NETFILTER]: nf_queue: remove unnecessary hook existance check

We hold a module reference for each queued packet, so the hook that
queued the packet can't disappear. Also remove an obsolete  comment
stating the opposite.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/core.c
net/netfilter/nf_queue.c