diff options
author | Julian Anastasov <ja@ssi.bg> | 2011-08-05 00:36:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-08 05:11:15 (GMT) |
commit | fad54440438a7c231a6ae347738423cbabc936d9 (patch) | |
tree | 77907fc0675fe8154a3227e66fd44017baaec58a | |
parent | 9e23311345135083f6074b280de1e6dc5eee1f68 (diff) | |
download | linux-fad54440438a7c231a6ae347738423cbabc936d9.tar.xz |
netfilter: avoid double free in nf_reinject
NF_STOLEN means skb was already freed
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/netfilter/nf_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c index 5b466cd..84d0fd4 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c @@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict) } break; case NF_STOLEN: + break; default: kfree_skb(skb); } |