diff options
| author | Bob Peterson <[email protected]> | 2020-10-15 16:16:48 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2020-10-20 21:16:22 +0000 |
| commit | 2ffed5290b3bff7562d29fd06621be4705704242 (patch) | |
| tree | 839e1aa0be0ebd78994ee90fa5858f626314ca63 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | gfs2: Fix comments to glock_hash_walk (diff) | |
| download | kernel-2ffed5290b3bff7562d29fd06621be4705704242.tar.gz kernel-2ffed5290b3bff7562d29fd06621be4705704242.zip | |
gfs2: Only access gl_delete for iopen glocks
Only initialize gl_delete for iopen glocks, but more importantly, only access
it for iopen glocks in flush_delete_work: flush_delete_work is called for
different types of glocks including rgrp glocks, and those use gl_vm which is
in a union with gl_delete. Without this fix, we'll end up clobbering gl_vm,
which results in general memory corruption.
Fixes: a0e3cc65fa29 ("gfs2: Turn gl_delete into a delayed work")
Cc: [email protected] # v5.8+
Signed-off-by: Bob Peterson <[email protected]>
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions
