projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e23311
)
netfilter: avoid double free in nf_reinject
author
Julian Anastasov
<ja@ssi.bg>
Fri, 5 Aug 2011 00:36:28 +0000
(
00:36
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Aug 2011 05:11:15 +0000
(22:11 -0700)
NF_STOLEN means skb was already freed
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_queue.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/nf_queue.c
b/net/netfilter/nf_queue.c
index 5b466cd1272feaf0d9b66caa42a542c8370bd1bf..84d0fd47636a19cbc5c16b0f3847f131e58ed876 100644
(file)
--- 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);
}