Linux/linux 52acf06drivers/net/ethernet/emulex/benet be_main.c

be2net: restore properly promisc mode after queues reconfiguration

The commit 622190669403 ("be2net: Request RSS capability of Rx interface
depending on number of Rx rings") modified be_update_queues() so the
IFACE (HW representation of the netdevice) is destroyed and then
re-created. This causes a regression because potential promiscuous mode
is not restored properly during be_open() because the driver thinks
that the HW has promiscuous mode already enabled.

Note that Lancer is not affected by this bug because RX-filter flags are
disabled during be_close() for this chipset.

Cc: Sathya Perla <sathya.perla at broadcom.com>
Cc: Ajit Khaparde <ajit.khaparde at broadcom.com>
Cc: Sriharsha Basavapatna <sriharsha.basavapatna at broadcom.com>
Cc: Somnath Kotur <somnath.kotur at broadcom.com>

Fixes: 622190669403 ("be2net: Request RSS capability of Rx interface depending on number of Rx rings")
Signed-off-by: Ivan Vecera <ivecera at redhat.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+9-0drivers/net/ethernet/emulex/benet/be_main.c
+9-01 files

UnifiedSplitRaw