HomeFreeBSD

Fix snderr() to not leak the socket buffer lock if an error occurs in
rS152938Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix snderr() to not leak the socket buffer lock if an error occurs in
sosend(). Robert accidentally changed the snderr() macro to jump to the
out label which assumes the lock is already released rather than the
release label which drops the lock in his previous change to sosend().
This should fix the recent panics about returning from write(2) with the
socket lock held and the most recent LOR on current@.

Details

Provenance
jhbAuthored on
Parents
rS152937: The DEFAULTS changes caused the user specified config file to be opened
Branches
Unknown
Tags
Unknown

Event Timeline