[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:
parent
8f41f01786
commit
0ff4d77bd9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue