android_kernel_xiaomi_sm7250/net/bridge
Nikolay Aleksandrov 7d850abd5f net: bridge: add support for port isolation
This patch adds support for a new port flag - BR_ISOLATED. If it is set
then isolated ports cannot communicate between each other, but they can
still communicate with non-isolated ports. The same can be achieved via
ACLs but they can't scale with large number of ports and also the
complexity of the rules grows. This feature can be used to achieve
isolated vlan functionality (similar to pvlan) as well, though currently
it will be port-wide (for all vlans on the port). The new test in
should_deliver uses data that is already cache hot and the new boolean
is used to avoid an additional source port test in should_deliver.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-25 14:37:20 -04:00
..
netfilter
br_arp_nd_proxy.c
br_device.c
br_fdb.c
br_forward.c net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_if.c
br_input.c net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_ioctl.c
br_mdb.c
br_multicast.c
br_netfilter_hooks.c
br_netfilter_ipv6.c
br_netlink_tunnel.c
br_netlink.c net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_nf_core.c
br_private_stp.h
br_private_tunnel.h
br_private.h net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_stp_bpdu.c
br_stp_if.c
br_stp_timer.c
br_stp.c
br_switchdev.c
br_sysfs_br.c
br_sysfs_if.c net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_vlan_tunnel.c
br_vlan.c
br.c
Kconfig
Makefile