HomeFreeBSD

rack: honor prior socket buffer lock when doing the upcall

Description

rack: honor prior socket buffer lock when doing the upcall

While partially reverting D24237 with D29690, due to introducing some
unintended effects for in-kernel TCP consumers, the preexisting lock
on the socket send buffer was not considered properly.

Found by: markj
MFC after: 2 weeks
Reviewed By: tuexen, transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D30390

Details

Provenance
rscheffAuthored on May 21 2021, 10:08 PM
Reviewer
transport
Differential Revision
D30390: rack: honor prior socket buffer lock when doing the upcall
Parents
R10:916c61a5ed37: Fix handling of errors from pru_send(PRUS_NOTREADY)
Branches
Unknown
Tags
Unknown