summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-12-07 04:50:11 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-12-12 10:37:00 +0100
commit47b17879f9837d317a0f9e3203b9231fea82b018 (patch)
treeb9c0c0d3fee92a68e62d3b3f5f2c75e0177633e0 /net/unix/sysctl_net_unix.c
parent268712dc3b344f3a835211e5846e6ebfd7a13cbd (diff)
wifi: iwlwifi: pcie: clean up device removal work
We shouldn't access the device if we don't hold a reference, and if - after locking - we see that it has no bus, we also can't do anything, in fact, pci_stop_and_remove_bus_device() will be a no-op. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20231207044813.6c0879e695f7.I1d3ce75ecad32a4cbf1b9dad61bfb7bc7821fdd9@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions