HomeFreeBSD

socket: Microoptimize soreceive_stream_locked()

Description

socket: Microoptimize soreceive_stream_locked()

There is no need to hold the sockbuf lock while checking uio_resid.
No functional change intended.

MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Details

Provenance
markjAuthored on Jul 5 2024, 6:01 PM
Parents
rGfb901935f257: socket: Split up sosend_generic()
Branches
Unknown
Tags
Unknown