netfilter: nf_queue: fix NF_STOLEN skb leak
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 19 Feb 2010 14:28:38 +0000 (15:28 +0100)
committerPatrick McHardy <kaber@trash.net>
Fri, 19 Feb 2010 14:28:38 +0000 (15:28 +0100)
commit64507fdbc29c3a622180378210ecea8659b14e40
treec42d87f221405f3ba9553984c39178caae3aac26
parenta88e22adf5aad79b6e2ddd1bf0109c2ba8b46b0e
netfilter: nf_queue: fix NF_STOLEN skb leak

commit 3bc38712e3a6e059 (handle NF_STOP and unknown verdicts in
nf_reinject) was a partial fix to packet leaks.

If user asks NF_STOLEN status, we must free the skb as well.

Reported-by: Afi Gjermund <afigjermund@gmail.com>
Signed-off-by: Eric DUmazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_queue.c