diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-10-09 16:48:51 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-10-09 16:48:51 +0000 |
commit | a475461b84c4cf5518b13549612a82ffa089598a (patch) | |
tree | 1187439021b085c25320e9232c4d1d48db4ddec9 /lib | |
parent | 405e05f570f5bcf7eecd7cef8ee07b5300a8e0c3 (diff) | |
download | FreeBSD-src-a475461b84c4cf5518b13549612a82ffa089598a.zip FreeBSD-src-a475461b84c4cf5518b13549612a82ffa089598a.tar.gz |
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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions