Files
linux/drivers/net
Emeel Hakim 2a930b75bf net: macsec: fix net device access prior to holding a lock
[ Upstream commit f3b4a00f0f ]

Currently macsec offload selection update routine accesses
the net device prior to holding the relevant lock.
Fix by holding the lock prior to the device access.

Fixes: dcb780fb27 ("net: macsec: add nla support for changing the offloading selection")
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Emeel Hakim <ehakim@nvidia.com>
Link: https://lore.kernel.org/r/20221211075532.28099-1-ehakim@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:16:09 +01:00
..
2021-12-29 12:25:57 +01:00
2022-08-25 11:38:02 +02:00
2020-08-23 17:36:59 -05:00