The series adds an ability to configure the bridge into a non-primiscuous mode. Instead, it provides the ability to identitfy some set of bridge ports as uplinks and allows for MAC addresses to be programmed onto those ports. In case the port hardware does not support mac filter, that port will be placed in promiscuous mode. Default bridge operation continues to remain as "promiscuous". The new functionality has to be enabled via sysfs (similar to other bridge extensions). The uplink mode is implemented as a flag on a bridge port. The api to change that flag follows the existing api to enable/disable other existing flags. All comments are welcome. Changes since v1: * Fixed submit log * Simplifyied uplink logic. Uplink is now a flag per port. This removes the need for a separate list. * Clean-up hw list once the port has been removed. Vlad Yasevich (3): bridge: Add sysfs interface to control promisc mode bridge: Allow an ability to designate an uplink port bridge: Implement IFF_UNICAST_FLT include/uapi/linux/if_link.h | 1 + net/bridge/br_device.c | 52 +++++++++++++++++++++++++++++++++++++++++- net/bridge/br_fdb.c | 6 +++++ net/bridge/br_if.c | 22 +++++++++++++---- net/bridge/br_netlink.c | 2 + net/bridge/br_private.h | 3 ++ net/bridge/br_sysfs_br.c | 17 +++++++++++++ net/bridge/br_sysfs_if.c | 2 + 8 files changed, 99 insertions(+), 6 deletions(-) -- 1.7.7.6