We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd039e6 commit 7a826fbCopy full SHA for 7a826fb
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
@@ -439,11 +439,6 @@ static void axienet_set_multicast_list(struct net_device *ndev)
439
440
if (ndev->flags & (IFF_ALLMULTI | IFF_PROMISC) ||
441
netdev_mc_count(ndev) > XAE_MULTICAST_CAM_TABLE_NUM) {
442
- /* We must make the kernel realize we had to move into
443
- * promiscuous mode. If it was a promiscuous mode request
444
- * the flag is already set. If not we set it.
445
- */
446
- ndev->flags |= IFF_PROMISC;
447
reg = axienet_ior(lp, XAE_FMI_OFFSET);
448
reg |= XAE_FMI_PM_MASK;
449
axienet_iow(lp, XAE_FMI_OFFSET, reg);
0 commit comments