提交 0ff4d77b 编写于 作者: J Jan Engelhardt 提交者: David S. Miller

[NETFILTER]: xt_helper: Do not bypass RCU

Use the @helper variable that was just obtained.
Signed-off-by: NJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8f41f017
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册