From: Jan Engelhardt Date: Fri, 11 Jan 2008 06:41:28 +0000 (-0800) Subject: [NETFILTER]: xt_helper: Do not bypass RCU X-Git-Tag: v2.6.24-rc8~7^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ff4d77bd9fe86ca1bc7f44839d79f8a349a62f0;p=platform%2Fkernel%2Flinux-3.10.git [NETFILTER]: xt_helper: Do not bypass RCU Use the @helper variable that was just obtained. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/netfilter/xt_helper.c b/net/netfilter/xt_helper.c index 0a1f4c6..d842c4a 100644 --- 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; }