bonding: Turn on IFF_UNICAST_FLT on bond devices
authorVlad Yasevich <vyasevic@redhat.com>
Wed, 4 Jun 2014 20:23:36 +0000 (16:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 22:13:54 +0000 (15:13 -0700)
commitc565b488c6a86fdff24f6d716defc3d07a474b44
tree3fdb2f79f69bdf53a65f9224cddc1234f4418357
parentf830b0223cabfc614552a73dabff920859191f2e
bonding: Turn on IFF_UNICAST_FLT on bond devices

Bonding devices manage the unicast filters of the underlying
interfaces, but do not turn on IFF_UNICAST_FLT flag.  Thus
anytime a unicast address is added to the bond, the bond is
places in promiscuous mode.

Turn on IFF_UNICAST_FLT on the bond device so that the bond does
not go into promiscuous mode needlesly.  If an underlying device
does not support unicast filtering, that device will automaticall
enter promiscuous mode already.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c