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 netfilter: Use nf_hook_state.net 2015-09-17 17:18:37 -07:00
br_device.c net: bridge: convert to using IFF_NO_QUEUE 2015-08-18 11:55:06 -07:00
br_fdb.c Revert "Merge branch 'mv88e6xxx-switchdev-fdb'" 2015-08-11 12:00:37 -07:00
br_forward.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_if.c bridge: multicast: fix handling of temp and perm entries 2015-07-20 12:49:10 -07:00
br_input.c netfilter: Pass net into okfn 2015-09-17 17:18:37 -07:00
br_ioctl.c bridge: fix br_stp_set_bridge_priority race conditions 2015-06-18 03:29:47 -07:00
br_mdb.c bridge: mdb: fix vlan_enabled access when vlans are not configured 2015-08-03 16:20:51 -07:00
br_multicast.c netfilter: Pass struct net into the netfilter hooks 2015-09-17 17:18:37 -07:00
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 net: bridge: remove unnecessary switchdev include 2015-09-08 22:33:14 -07:00
br_nf_core.c net: Remove protocol from struct dst_ops 2015-03-09 16:06:10 -04:00
br_private_stp.h net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
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 bridge: stp: when using userspace stp stop kernel hello and hold timers 2015-07-28 23:33:20 -07:00
br_stp_timer.c bridge: stp: when using userspace stp stop kernel hello and hold timers 2015-07-28 23:33:20 -07:00
br_stp.c bridge: stp: when using userspace stp stop kernel hello and hold timers 2015-07-28 23:33:20 -07:00
br_sysfs_br.c bridge: Add a default_pvid sysfs attribute 2014-10-05 21:21:36 -04:00
br_sysfs_if.c bridge: vlan: flush the dynamically learned entries on port vlan delete 2015-06-24 05:40:55 -07:00
br_vlan.c net: bridge: check __vlan_vid_del for error 2015-09-08 22:28:45 -07:00
br.c switchdev: s/netdev_switch_/switchdev_/ and s/NETDEV_SWITCH_/SWITCHDEV_/ 2015-05-12 18:43:52 -04:00
Kconfig bridge: Add vlan filtering infrastructure 2013-02-13 19:41:46 -05:00
Makefile netfilter: bridge: split ipv6 code into separated file 2015-06-18 21:14:21 +02:00