Files
twx-linux/include/linux
Edwin Peer 8d403a809c 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-23 14:00:32 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
2019-12-17 20:39:59 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-11 14:25:50 +00:00
…
…
…
…
2017-08-30 14:40:40 +02:00
…
…
…
…
…
…
2018-08-03 07:50:38 +02:00
2012-02-20 19:46:36 +11:00
…
…
…
…
2012-10-16 18:49:15 -07:00
2021-02-10 09:12:08 +01:00
…
…
…
…
2019-11-24 08:22:48 +01:00
2017-08-07 17:22:14 +02:00
2014-12-31 13:06:50 -05:00
…
…
…
2021-01-30 13:31:17 +01:00
…
…
2020-04-02 16:34:21 +02:00
…
…
…
2017-03-21 10:15:47 +02:00
2010-02-09 11:13:56 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-06-21 14:37:12 -04:00
2018-02-22 15:42:24 +01:00
…
…
…
…
…
…
…
…
2017-01-05 15:01:55 -06:00
…
…
…
…
…
…
…
…
…
…
…
2019-12-17 20:38:50 +01:00
2016-03-22 15:36:02 -07:00
…
…
…
2021-02-07 14:47:41 +01:00
2016-12-25 17:21:23 +01:00
…
…
…
…
…
…
2017-08-28 20:51:22 +02:00
…
…
2019-12-31 12:37:21 +01:00
…
…
2020-07-29 07:42:55 +02:00
…
…
…
…
2018-02-22 15:42:23 +01:00
…
…
…
…
…
2017-07-06 11:30:07 -04:00
…
…
…
2017-09-25 08:56:05 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-11-18 18:28:00 +01:00
…
2020-03-20 10:54:12 +01:00
2017-08-06 20:55:29 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-04-24 08:00:38 +02:00
…
…
2020-04-02 16:34:36 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-30 15:50:12 +05:30
…
…
…
…
…
…
…
2018-11-13 11:15:11 -08:00
…
…
…
2015-10-01 09:57:59 -07:00
…
…
2020-12-11 13:39:04 +01:00
…
…
…
…
…
…
2017-07-24 17:50:37 +02:00
…
…
…
…
2020-04-02 16:34:36 +02:00
…
2017-08-31 18:50:14 +02:00
…
…
…
…
2013-10-17 15:53:09 -04:00
…
2017-08-15 09:02:08 -07:00