diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-11-04 16:20:14 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-11-05 12:03:49 +0100 |
commit | d1e8884f89111726446bdba70ef3a17f84336613 (patch) | |
tree | 8dc03a95007daf6348a8e026190ee9dda82453e3 /handler.h | |
parent | a56e14afa612da95cf989b13a84bdb4e93bdcfee (diff) |
bridge: fix use-after-free bug on bridge member free
When removing the device reference, the core might free the device.
Use device_lock/unlock to keep the reference valid until it is no longer needed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'handler.h')
0 files changed, 0 insertions, 0 deletions