Files
linux/net
Johannes Berg bf17b36ccd net: sysfs: fix locking in carrier read
My previous patch added a call to linkwatch_sync_dev(),
but that of course needs to be called under RTNL, which
I missed earlier, but now saw RCU warnings from.

Fix that by acquiring the RTNL in a similar fashion to
how other files do it here.

Fixes: facd15dfd6 ("net: core: synchronize link-watch when carrier is queried")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20231206172122.859df6ba937f.I9c80608bcfbab171943ff4942b52dbd5e97fe06e@changeid
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-12-08 16:10:17 -08:00
..
2023-10-23 08:45:25 +01:00
2023-10-01 19:09:54 +01:00
2023-12-05 10:48:00 +01:00
2023-12-08 10:56:25 +00:00
2023-10-01 19:09:54 +01:00
2023-10-01 19:09:54 +01:00
2023-10-11 10:39:01 +01:00