diff options
author | Julian Anastasov <ja@ssi.bg> | 2011-08-05 04:36:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-08 09:11:15 +0400 |
commit | fad54440438a7c231a6ae347738423cbabc936d9 (patch) | |
tree | 77907fc0675fe8154a3227e66fd44017baaec58a /net/netfilter | |
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>
Diffstat (limited to 'net/netfilter')
-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 5b466cd1272f..84d0fd47636a 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); } |