Robert Watson 6c8286e42d Don't pass curthread to sbreserve_locked() in tcp_do_segment(), as the
netisr or ithread's socket buffer size limit is not the right limit to
use.  Instead, pass NULL as the other two calls to sbreserve_locked()
in the TCP input path (tcp_mss()) do.

In practice, this is a no-op, as ithreads and the netisr run without a
process limit on socket buffer use, and a NULL thread pointer leads to
not using the process's limit, if any.  However, if tcp_input() is
called in other contexts that do have limits, this may prevent the
incorrect limit from being used.

MFC after:	3 days
2008-10-07 09:41:07 +00:00
..
2008-08-25 05:49:16 +00:00
2008-07-29 09:06:35 +00:00
Nit
2008-08-09 11:28:57 +00:00
2008-07-29 09:06:35 +00:00
2008-07-29 09:06:35 +00:00
2008-08-28 09:44:07 +00:00
2008-08-28 09:44:07 +00:00
2007-03-24 22:15:02 +00:00
2008-06-11 22:12:50 +00:00
2007-09-24 05:26:24 +00:00
2007-07-10 09:30:46 +00:00