projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f41f01
)
[NETFILTER]: xt_helper: Do not bypass RCU
author
Jan Engelhardt
<jengelh@computergmbh.de>
Fri, 11 Jan 2008 06:41:28 +0000
(22:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 11 Jan 2008 06:41:28 +0000
(22:41 -0800)
Use the @helper variable that was just obtained.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_helper.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_helper.c
b/net/netfilter/xt_helper.c
index 0a1f4c6bcdef415afae94b369cefb4ab133492bd..d842c4a6d63f6b97843db892dea44b36c7ac986b 100644
(file)
--- a/
net/netfilter/xt_helper.c
+++ b/
net/netfilter/xt_helper.c
@@
-56,8
+56,8
@@
match(const struct sk_buff *skb,
if (info->name[0] == '\0')
ret = !ret;
else
- ret ^= !strncmp(
master_help->
helper->name, info->name,
- strlen(
master_help->
helper->name));
+ ret ^= !strncmp(helper->name, info->name,
+ strlen(helper->name));
return ret;
}