aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-03-01 09:05:19 +0000
committerBartosz Golaszewski <[email protected]>2021-03-08 10:59:17 +0000
commitcf25ef6b631c6fc6c0435fc91eba8734cca20511 (patch)
treead48e36b8d0774a88eff34ddc44a2b5a42d3fcce /scripts/bpf_helpers_doc.py
parentgpio: fix NULL-deref-on-deregistration regression (diff)
downloadkernel-cf25ef6b631c6fc6c0435fc91eba8734cca20511.tar.gz
kernel-cf25ef6b631c6fc6c0435fc91eba8734cca20511.zip
gpio: fix gpio-device list corruption
Make sure to hold the gpio_lock when removing the gpio device from the gpio_devices list (when dropping the last reference) to avoid corrupting the list when there are concurrent accesses. Fixes: ff2b13592299 ("gpio: make the gpiochip a real device") Cc: [email protected] # 4.6 Reviewed-by: Saravana Kannan <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions