Skip to content

Commit 1098cee

Browse files
Zhang Shengjudavem330
authored andcommitted
bonding: remove duplicate set of flag IFF_MULTICAST
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>
1 parent 93e68cd commit 1098cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/bonding/bond_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4175,7 +4175,7 @@ void bond_setup(struct net_device *bond_dev)
41754175
SET_NETDEV_DEVTYPE(bond_dev, &bond_type);
41764176

41774177
/* Initialize the device options */
4178-
bond_dev->flags |= IFF_MASTER|IFF_MULTICAST;
4178+
bond_dev->flags |= IFF_MASTER;
41794179
bond_dev->priv_flags |= IFF_BONDING | IFF_UNICAST_FLT | IFF_NO_QUEUE;
41804180
bond_dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);
41814181

0 commit comments

Comments
 (0)