mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 02:24:57 +08:00
865ad2f220
The netif_stop_queue() call in sonic_send_packet() races with the
netif_wake_queue() call in sonic_interrupt(). This causes issues
like "NETDEV WATCHDOG: eth0 (macsonic): transmit queue 0 timed out".
Fix this by disabling interrupts when accessing tx_skb[] and next_tx.
Update a comment to clarify the synchronization properties.
Fixes:
|
||
---|---|---|
.. | ||
jazzsonic.c | ||
Kconfig | ||
macsonic.c | ||
Makefile | ||
natsemi.c | ||
ns83820.c | ||
sonic.c | ||
sonic.h | ||
xtsonic.c |