summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRaf Dickson <rafdog35@gmail.com>2026-06-12 07:58:42 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-13 20:36:37 +0300
commit4ff2e84ff1b33d79fa0e3ae355ce4a334908ef9a (patch)
tree3bc428b87d875014c0693372fb948faa426db9f0 /include/net
parent0d4bd1c5629a8435538c312e2f4a1f13d0a8bd34 (diff)
downloadlinux-4ff2e84ff1b33d79fa0e3ae355ce4a334908ef9a.tar.xz
vsock: use sk_acceptq_is_full() helper in all transports
Replace the open-coded backlog check with sk_acceptq_is_full(). The helper uses > instead of >=, which is the correct comparison per commit 64a146513f8f ("[NET]: Revert incorrect accept queue backlog changes."), and adds READ_ONCE() for proper memory ordering. Suggested-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Raf Dickson <rafdog35@gmail.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Luigi Leonardi <leonardi@redhat.com> Link: https://patch.msgid.link/20260612045842.122207-1-rafdog35@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions