K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-10-12T17:36:45.000000Z K 7 svn:log V 519 Merge tcp_output.c:1.103 from HEAD to RELENG_5: date: 2004/10/09 16:48:51; author: rwatson; state: Exp; lines: +14 -2 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). Approved by: re (kensmith) END