linux/net/bridge
Eric W. Biederman 0c4b51f005 netfilter: Pass net into okfn
This is immediately motivated by the bridge code that chains functions that
call into netfilter.  Without passing net into the okfns the bridge code would
need to guess about the best expression for the network namespace to process
packets in.

As net is frequently one of the first things computed in continuation functions
after netfilter has done it's job passing in the desired network namespace is in
many cases a code simplification.

To support this change the function dst_output_okfn is introduced to
simplify passing dst_output as an okfn.  For the moment dst_output_okfn
just silently drops the struct net.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-09-17 17:18:37 -07:00
..
netfilter
br_device.c
br_fdb.c
br_forward.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_if.c
br_input.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_ioctl.c
br_mdb.c
br_multicast.c
br_netfilter_hooks.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_netfilter_ipv6.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_netlink.c
br_nf_core.c
br_private_stp.h
br_private.h netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_stp_bpdu.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_stp_if.c
br_stp_timer.c
br_stp.c
br_sysfs_br.c
br_sysfs_if.c
br_vlan.c
br.c
Kconfig
Makefile