summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2011-08-05 00:36:28 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-07 22:11:15 -0700
commitfad54440438a7c231a6ae347738423cbabc936d9 (patch)
tree77907fc0675fe8154a3227e66fd44017baaec58a
parent9e23311345135083f6074b280de1e6dc5eee1f68 (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c
index 5b466cd1272..84d0fd47636 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);
}