netfilter: br_netfilter: update stub br_nf_pre_routing_ipv6 parameter to `void *priv`.
authorJeremy Sowden <jeremy@azazel.net>
Fri, 13 Sep 2019 08:13:13 +0000 (09:13 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 13 Sep 2019 10:47:11 +0000 (12:47 +0200)
commitf1815650b547db745bef35f74395e113fcf62cac
tree921db62b7c575940a765c91e6e63ed8ecd379b5e
parent22e81d7416d04355a7dfa248f187feba641c199e
netfilter: br_netfilter: update stub br_nf_pre_routing_ipv6 parameter to `void *priv`.

The real br_nf_pre_routing_ipv6 function, defined when CONFIG_IPV6 is
enabled, expects `void *priv`, not `const struct nf_hook_ops *ops`.
Update the stub br_nf_pre_routing_ipv6, defined when CONFIG_IPV6 is
disabled, to match.

Fixes: 06198b34a3e0 ("netfilter: Pass priv instead of nf_hook_ops to netfilter hooks")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/br_netfilter.h