diff options
author | Emeel Hakim <[email protected]> | 2022-12-11 09:55:32 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-12-13 18:58:08 -0800 |
commit | f3b4a00f0f62da252c598310698dfc82ef2f2e2e (patch) | |
tree | 2878ea475fa9707cf2d46cea77029f060c1ae296 /tools/perf/scripts/python/compaction-times.py | |
parent | 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 (diff) |
net: macsec: fix net device access prior to holding a lock
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: dcb780fb2795 ("net: macsec: add nla support for changing the offloading selection")
Reviewed-by: Raed Salem <[email protected]>
Signed-off-by: Emeel Hakim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions