]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: nf_queue: fix rerouting after packet mangling
authorPatrick McHardy <kaber@trash.net>
Mon, 27 Feb 2006 21:03:24 +0000 (13:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 21:03:24 +0000 (13:03 -0800)
commit7a11b9848ae27e571f219fab5541bd84700f0d68
treecd108f9df88ac218c8d9dab3fbda389df92f8d44
parentf92f871989c97a24d284ac60b0f880222ddf87ac
[NETFILTER]: nf_queue: fix rerouting after packet mangling

Packets should be rerouted when they come back from userspace, not before.
Also move the queue_rerouters to RCU to avoid taking the queue_handler_lock
for each reinjected packet.

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