]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2c64fbea7acd5eaeb3739b351b95ffdcbaad508
treec42d87f221405f3ba9553984c39178caae3aac26
parentb6c0d19e37d5da62474f80ba94c09c49deac1812
netfilter: nf_queue: fix NF_STOLEN skb leak

commit 069cfc17c4c3e792 (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