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

(cherry picked from commit 39756885633fd9d9649b4cb0f0abf594bfeb8dbb)

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:55cc0a478506: [tcp] Keep socket buffer locked until upcall
Branches
Unknown
Tags
Unknown