diff options
author | Florian Westphal <fw@strlen.de> | 2021-10-11 17:15:14 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-14 23:06:53 +0200 |
commit | f0d6764f7ddbf6d57302155b0f83eadb25ab0f0c (patch) | |
tree | 247c16aa024ed85336036859472598eac2341dde /include/linux/netfilter_bridge | |
parent | 44b5990e7b463240e4c116c9e8670c67dad960cc (diff) | |
download | linux-stable-f0d6764f7ddbf6d57302155b0f83eadb25ab0f0c.tar.gz linux-stable-f0d6764f7ddbf6d57302155b0f83eadb25ab0f0c.tar.bz2 linux-stable-f0d6764f7ddbf6d57302155b0f83eadb25ab0f0c.zip |
netfilter: ebtables: allow use of ebt_do_table as hookfn
This is possible now that the xt_table structure is passed via *priv.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter_bridge')
-rw-r--r-- | include/linux/netfilter_bridge/ebtables.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h index 10a01978bc0d..a13296d6c7ce 100644 --- a/include/linux/netfilter_bridge/ebtables.h +++ b/include/linux/netfilter_bridge/ebtables.h @@ -112,9 +112,8 @@ extern int ebt_register_table(struct net *net, const struct nf_hook_ops *ops); extern void ebt_unregister_table(struct net *net, const char *tablename); void ebt_unregister_table_pre_exit(struct net *net, const char *tablename); -extern unsigned int ebt_do_table(struct sk_buff *skb, - const struct nf_hook_state *state, - struct ebt_table *table); +extern unsigned int ebt_do_table(void *priv, struct sk_buff *skb, + const struct nf_hook_state *state); /* True if the hook mask denotes that the rule is in a base chain, * used in the check() functions */ |