[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>
This commit is contained in:
Jan Engelhardt 2008-01-10 22:41:28 -08:00 committed by David S. Miller
parent 8f41f01786
commit 0ff4d77bd9
1 changed files with 2 additions and 2 deletions

View 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;
}