diff options
author | Eddie James <eajames@linux.ibm.com> | 2024-09-25 17:55:23 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-03 10:14:14 +0200 |
commit | a0ffa68c70b367358b2672cdab6fa5bc4c40de2c (patch) | |
tree | 7cc6b34de767b847bead2f5514b7ecc21d02b824 /rust/kernel/net.rs | |
parent | net: phy: qt2025: Fix warning: unused import DeviceId (diff) | |
download | linux-a0ffa68c70b367358b2672cdab6fa5bc4c40de2c.tar.xz linux-a0ffa68c70b367358b2672cdab6fa5bc4c40de2c.zip |
net/ncsi: Disable the ncsi work before freeing the associated structure
The work function can run after the ncsi device is freed, resulting
in use-after-free bugs or kernel panic.
Fixes: 2d283bdd079c ("net/ncsi: Resource management")
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://patch.msgid.link/20240925155523.1017097-1-eajames@linux.ibm.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/net.rs')
0 files changed, 0 insertions, 0 deletions