diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-11 01:41:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-11 01:41:28 -0500 |
commit | 0ff4d77bd9fe86ca1bc7f44839d79f8a349a62f0 (patch) | |
tree | 6c2231938da36cc0cb26deb536b8464b9e26f52e /net | |
parent | 8f41f017866bc3dfe4db02582cfd48f0586cb990 (diff) |
[NETFILTER]: xt_helper: Do not bypass RCU
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_helper.c b/net/netfilter/xt_helper.c index 0a1f4c6bcde..d842c4a6d63 100644 --- a/net/netfilter/xt_helper.c +++ b/net/netfilter/xt_helper.c | |||
@@ -56,8 +56,8 @@ match(const struct sk_buff *skb, | |||
56 | if (info->name[0] == '\0') | 56 | if (info->name[0] == '\0') |
57 | ret = !ret; | 57 | ret = !ret; |
58 | else | 58 | else |
59 | ret ^= !strncmp(master_help->helper->name, info->name, | 59 | ret ^= !strncmp(helper->name, info->name, |
60 | strlen(master_help->helper->name)); | 60 | strlen(helper->name)); |
61 | return ret; | 61 | return ret; |
62 | } | 62 | } |
63 | 63 | ||