]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[NETFILTER]: xt_helper: Do not bypass RCU
authorJan Engelhardt <jengelh@computergmbh.de>
Fri, 11 Jan 2008 06:41:28 +0000 (22:41 -0800)
committerDavid 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

index 0a1f4c6bcdef415afae94b369cefb4ab133492bd..d842c4a6d63f6b97843db892dea44b36c7ac986b 100644 (file)
@@ -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;
 }