]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9164637211ab226f0d96408e7f5c40fb9879c405
tree3fdb2f79f69bdf53a65f9224cddc1234f4418357
parent2016b637503d5216f72d25e4a3d15a29338799c3
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