diff options
| author | Li RongQing <[email protected]> | 2025-01-09 11:10:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-11 02:14:24 +0000 |
| commit | b493f881aaa70ac63a448267bd447ad1eb2b16a1 (patch) | |
| tree | 55a7f941f6d85856448d0bf2d7e605e617855dcd /net/tls/tls_main.c | |
| parent | Merge branch 'ipvlan-support-bonding-events' (diff) | |
| download | kernel-b493f881aaa70ac63a448267bd447ad1eb2b16a1.tar.gz kernel-b493f881aaa70ac63a448267bd447ad1eb2b16a1.zip | |
net: ethtool: Use hwprov under rcu_read_lock
hwprov should be protected by rcu_read_lock to prevent possible UAF
Fixes: 4c61d809cf60 ("net: ethtool: Fix suspicious rcu_dereference usage")
Signed-off-by: Li RongQing <[email protected]>
Acked-by: Kory Maincent <[email protected]>
diff with v1: move and use err varialbe, instead of define a new variable
net/ethtool/common.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
