1
0
Fork 0
alistair23-linux/include/linux/netfilter_bridge
Eric W. Biederman 97b59c3a91 netfilter: ebtables: Simplify the arguments to ebt_do_table
Nearly everything thing of interest to ebt_do_table is already present
in nf_hook_state.  Simplify ebt_do_table by just passing in the skb,
nf_hook_state, and the table.  This make the code easier to read and
maintenance easier.

To support this create an nf_hook_state on the stack in ebt_broute
(the only caller without a nf_hook_state already available).  This new
nf_hook_state adds no new computations to ebt_broute, but does use a
few more bytes of stack.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2015-09-18 21:57:35 +02:00
..
ebt_802_3.h UAPI: (Scripted) Disintegrate include/linux/netfilter_bridge 2012-10-09 09:48:58 +01:00
ebtables.h netfilter: ebtables: Simplify the arguments to ebt_do_table 2015-09-18 21:57:35 +02:00