aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorwuchi <[email protected]>2022-06-05 14:58:35 +0000
committerJens Axboe <[email protected]>2022-06-25 16:58:55 +0000
commitfbb564a557809466c171b95f8d593a0972450ff2 (patch)
tree9d4db32a35428644a80a8b96c48b898063f7a98e /net/unix/af_unix.c
parentMerge tag 'nvme-5.19-2022-06-23' of git://git.infradead.org/nvme into block-5.19 (diff)
downloadkernel-fbb564a557809466c171b95f8d593a0972450ff2.tar.gz
kernel-fbb564a557809466c171b95f8d593a0972450ff2.zip
lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()
1. Getting next index before continue branch. 2. Checking free bits when setting the target bits. Otherwise, it may reuse the busying bits. Signed-off-by: wuchi <[email protected]> Reviewed-by: Martin Wilck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 9672b0d43782 ("sbitmap: add __sbitmap_queue_get_batch()") Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions