mirror of https://gitee.com/openkylin/linux.git
8edf0047f4
There is currently a small window during which the SYSTEMPORT adapter
enables its RX interrupts without having enabled its NAPI handler, which
can result in packets to be discarded during interface bringup.
A similar but more serious window exists in bcm_sysport_resume() during
which we can have the RDMA engine not fully prepared to receive packets
and yet having RX interrupts enabled.
Fix this my moving the RX interrupt enable down to
bcm_sysport_netif_start() after napi_enable() for the RX path is called,
which fixes both call sites: bcm_sysport_open() and
bcm_sysport_resume().
Fixes:
|
||
---|---|---|
.. | ||
bnx2x | ||
genet | ||
Kconfig | ||
Makefile | ||
b44.c | ||
b44.h | ||
bcm63xx_enet.c | ||
bcm63xx_enet.h | ||
bcmsysport.c | ||
bcmsysport.h | ||
bgmac.c | ||
bgmac.h | ||
bnx2.c | ||
bnx2.h | ||
bnx2_fw.h | ||
cnic.c | ||
cnic.h | ||
cnic_defs.h | ||
cnic_if.h | ||
sb1250-mac.c | ||
tg3.c | ||
tg3.h |