https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212716

--- Comment #20 from commit-h...@freebsd.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=caaea455773898bee9a0c59466a84256192e0980

commit caaea455773898bee9a0c59466a84256192e0980
Author:     Greg Becker <becker.g...@att.net>
AuthorDate: 2023-09-09 23:38:24 +0000
Commit:     Mark Johnston <ma...@freebsd.org>
CommitDate: 2023-09-27 12:33:05 +0000

    sockets: re-check socket state after call to pr_rcvd()

    Socket state may have changed after dropping the receive
    buffer lock in order to call pr_rcvd().  If the buffer is
    empty, re-check the state after reaquiring the lock and
    skip calling sbwait() if the socket is in error or the
    peer has closed.

    PR:             212716
    Reviewed by:    markj, glebius
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D41783

    (cherry picked from commit f44102411e1b16363e91a074c9c403069c550e4d)

 sys/kern/uipc_socket.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to