bonding: remove duplicate set of flag IFF_MULTICAST
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 16 Mar 2016 09:59:15 +0000 (09:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Mar 2016 02:14:47 +0000 (22:14 -0400)
Remove unnecessary set of flag IFF_MULTICAST, since ether_setup
already does this.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c

index b6236ff3dbdd97ffa7c94ad5d53a7a96d3883f02..270b39c8357f2931523872b1d708ae195092bc9c 100644 (file)
@@ -4175,7 +4175,7 @@ void bond_setup(struct net_device *bond_dev)
        SET_NETDEV_DEVTYPE(bond_dev, &bond_type);
 
        /* Initialize the device options */
-       bond_dev->flags |= IFF_MASTER|IFF_MULTICAST;
+       bond_dev->flags |= IFF_MASTER;
        bond_dev->priv_flags |= IFF_BONDING | IFF_UNICAST_FLT | IFF_NO_QUEUE;
        bond_dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);