diff options
author | 2022-11-15 16:16:43 +0300 | |
---|---|---|
committer | 2022-11-15 07:53:31 -0700 | |
commit | a7a1598189228b5007369a9622ccdf587be0730f (patch) | |
tree | 948a5f4d64b13b0d605e6d5daf85022d6d71eba8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-cgroup: properly pin the parent in blkcg_css_online (diff) | |
download | wireguard-linux-a7a1598189228b5007369a9622ccdf587be0730f.tar.xz wireguard-linux-a7a1598189228b5007369a9622ccdf587be0730f.zip |
drbd: use after free in drbd_create_device()
The drbd_destroy_connection() frees the "connection" so use the _safe()
iterator to prevent a use after free.
Fixes: b6f85ef9538b ("drbd: Iterate over all connections")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/Y3Jd5iZRbNQ9w6gm@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions