aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-microchip-core.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2024-10-22 16:17:42 +0200
committerJohannes Berg <[email protected]>2024-10-25 17:53:40 +0200
commitd5fee261dfd9e17b08b1df8471ac5d5736070917 (patch)
tree83cacded2dc98c9da3fccf70705fc5e718eb564b /drivers/pwm/pwm-microchip-core.c
parent9b15c6cf8d2e82c8427cd06f535d8de93b5b995c (diff)
wifi: cfg80211: clear wdev->cqm_config pointer on free
When we free wdev->cqm_config when unregistering, we also need to clear out the pointer since the same wdev/netdev may get re-registered in another network namespace, then destroyed later, running this code again, which results in a double-free. Reported-by: [email protected] Fixes: 37c20b2effe9 ("wifi: cfg80211: fix cqm_config access race") Cc: [email protected] Link: https://patch.msgid.link/20241022161742.7c34b2037726.I121b9cdb7eb180802eafc90b493522950d57ee18@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-microchip-core.c')
0 files changed, 0 insertions, 0 deletions