aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlan Huang <[email protected]>2025-02-26 09:33:22 +0000
committerKent Overstreet <[email protected]>2025-02-27 00:31:05 +0000
commit677bdb7346b6fd806ea45b11cbfe36de0b0cd644 (patch)
tree7d3444ff37a1d2ba06d4b7da078f1fc0de9d86c2 /net/unix/af_unix.c
parentbcachefs: Check for -BCH_ERR_open_buckets_empty in journal resize (diff)
downloadkernel-677bdb7346b6fd806ea45b11cbfe36de0b0cd644.tar.gz
kernel-677bdb7346b6fd806ea45b11cbfe36de0b0cd644.zip
bcachefs: Fix deadlock
This fixes two deadlocks: 1.pcpu_alloc_mutex involved one as pointed by syzbot[1] 2.recursion deadlock. The root cause is that we hold the bc lock during alloc_percpu, fix it by following the pattern used by __btree_node_mem_alloc(). [1] https://lore.kernel.org/all/[email protected]/T/ Reported-by: [email protected] Tested-by: [email protected] Signed-off-by: Alan Huang <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions