]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: introduce IFF_UNICAST_FLT private flag
authorJiri Pirko <jpirko@redhat.com>
Tue, 16 Aug 2011 06:29:00 +0000 (06:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Aug 2011 03:21:27 +0000 (20:21 -0700)
commit01789349ee52e4a3faf376f1485303d9723c4f1f
treecea58b51337ffda221f67d47dd234e52f76f65cf
parentd03462b999307ec5c186851ec9c5751bd5a675f7
net: introduce IFF_UNICAST_FLT private flag

Use IFF_UNICAST_FTL to find out if driver handles unicast address
filtering. In case it does not, promisc mode is entered.

Patch also fixes following drivers:
stmmac, niu: support uc filtering and yet it propagated
ndo_set_multicast_list
bna, benet, pxa168_eth, ks8851, ks8851_mll, ksz884x : has set
ndo_set_rx_mode but do not support uc filtering

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
drivers/net/ethernet/broadcom/bnx2.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
drivers/net/ethernet/cisco/enic/enic_main.c
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/marvell/mv643xx_eth.c
drivers/net/ethernet/octeon/octeon_mgmt.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/sun/niu.c
drivers/net/virtio_net.c
include/linux/if.h
include/linux/netdevice.h
net/core/dev.c