netfilter: nfnetlink_queue: do not free skb on error
authorFlorian Westphal <fw@strlen.de>
Tue, 18 Jan 2011 14:28:38 +0000 (15:28 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 18 Jan 2011 14:28:38 +0000 (15:28 +0100)
commit06cdb6349c1f3fd439398dbc04ce4c696f0a41ab
tree986b91560853dc2d0f8b67a3f61de35e103c4dc4
parentf15850861860636c905b33a9a5be3dcbc2b0d56a
netfilter: nfnetlink_queue: do not free skb on error

Move free responsibility from nf_queue to caller.
This enables more flexible error handling; we can now accept the skb
instead of freeing it.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/core.c
net/netfilter/nf_queue.c