HomeFreeBSD

Acquire the send socket buffer lock around tcp_output() activities
rS136327Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Acquire the send socket buffer lock around tcp_output() activities
reaching into the socket buffer. This prevents a number of potential
races, including dereferencing of sb_mb while unlocked leading to
a NULL pointer deref (how I found it). Potentially this might also
explain other "odd" TCP behavior on SMP boxes (although haven't
seen it reported).

RELENG_5 candidate.

Details

Provenance
rwatsonAuthored on
Parents
rS136326: Add SOCKBUF_UNLOCK_ASSERT(), which asserts that the current thread does
Branches
Unknown
Tags
Unknown

Event Timeline