Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 09/19/2000 21:21:42
Module Name:	syssrc
Committed By:	itojun
Date:		Tue Sep 19 18:21:42 UTC 2000

Modified Files:
	syssrc/sys/netinet: tcp_subr.c

Log Message:
for t_template, allocate mbuf cluster only if really necessary.
this avoids too aggressive memory usage on heavy load web server, for example.
From: Kevin Lahey <kml@dotrocket.com>

release and reallocate t_template, if t_template->m_len changes.
(this happens if we connect to IPv4 mapped destination and then IPv6
destination, on a single AF_INET6 socket)

KAME 1.26 -> 1.28


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 syssrc/sys/netinet/tcp_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.