Kuniyuki Iwashima 05e49cfc89 net: Fix a data-race around netdev_unregister_timeout_secs.
While reading netdev_unregister_timeout_secs, it can be changed
concurrently.  Thus, we need to add READ_ONCE() to its reader.

Fixes: 5aa3afe107d9 ("net: make unregister netdev warning timeout configurable")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-08-24 13:46:58 +01:00
..
2022-05-16 11:33:59 +01:00
2022-06-09 21:53:12 -07:00
2022-06-09 21:52:55 -07:00
2021-12-16 07:18:35 -08:00
2022-08-03 16:29:08 -07:00
2022-05-16 10:18:56 +01:00
2022-08-18 11:04:56 -07:00
2020-06-18 20:46:23 -07:00