Files
kernel_arpi/include/linux
Edwin Peer e22b963d3e net: watchdog: hold device global xmit lock during tx disable
commit 3aa6bce9af upstream.

Prevent netif_tx_disable() running concurrently with dev_watchdog() by
taking the device global xmit lock. Otherwise, the recommended:

	netif_carrier_off(dev);
	netif_tx_disable(dev);

driver shutdown sequence can happen after the watchdog has already
checked carrier, resulting in possible false alarms. This is because
netif_tx_lock() only sets the frozen bit without maintaining the locks
on the individual queues.

Fixes: c3f26a269c ("netdev: Fix lockdep warnings in multiqueue configurations.")
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-17 11:02:29 +01:00
..
2020-10-28 13:18:56 +01:00
2020-10-16 17:21:51 +02:00
2020-12-11 14:02:14 -08:00
2020-10-27 16:22:43 +01:00
2020-12-26 16:02:43 +01:00
2020-11-19 22:38:29 -05:00
2020-10-13 18:38:32 -07:00
2021-02-07 15:37:17 +01:00
2020-10-28 11:41:15 -06:00
2020-10-18 09:27:10 -07:00
2020-12-30 11:53:55 +01:00
2020-11-06 10:05:18 -08:00