HomeFreeBSD

[tcp] Keep socket buffer locked until upcall

Description

[tcp] Keep socket buffer locked until upcall

r367492 would unlock the socket buffer before eventually calling the upcall.
This leads to problematic interaction with NFS kernel server/client components
(MP threads) accessing the socket buffer with potentially not correctly updated
state.

Reported by: rmacklem
Reviewed By: tuexen, transport
Tested by: rmacklem, otis
MFC after: 2 weeks
Sponsored By: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D29690

Details

Provenance
rscheffAuthored on May 21 2021, 9:00 AM
Reviewer
transport
Differential Revision
D29690: [tcp] Keep socket buffer locked until upcall
Parents
R10:500eb6dd8040: tcp: Fix sending of TCP segments with IP level options
Branches
Unknown
Tags
Unknown