projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1488a9
)
netfilter: Fix wrong backporting
84/103284/2
accepted/tizen/mobile/20161209.005214
submit/tizen/20161208.044439
author
jooseong lee
<jooseong.lee@samsung.com>
Thu, 8 Dec 2016 02:46:33 +0000
(11:46 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Thu, 8 Dec 2016 04:39:05 +0000
(20:39 -0800)
Regard of:
the commit
930a2d023b07
("netfilter: nfnetlink_queue: allow to attach expectations to conntracks")
lock() was missed.
Change-Id: I8d5b4bec6dcee0ac43e9207180bb949b9cb1a49f
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
net/netfilter/nfnetlink_queue_core.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nfnetlink_queue_core.c
b/net/netfilter/nfnetlink_queue_core.c
index
c9c69f6
..
e215a6a
100644
(file)
--- a/
net/netfilter/nfnetlink_queue_core.c
+++ b/
net/netfilter/nfnetlink_queue_core.c
@@
-1053,6
+1053,7
@@
nfqnl_recv_verdict(struct sock *ctnl, struct sk_buff *skb,
if (entry == NULL)
return -ENOENT;
+ rcu_read_lock();
if (nfqa[NFQA_CT]) {
ct = nfqnl_ct_parse(entry->skb, nfqa[NFQA_CT], &ctinfo);
if (ct && nfqa[NFQA_EXP]) {