Subject: CVS commit: syssrc/sys/netinet
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 02/28/2002 22:26:19
Module Name:	syssrc
Committed By:	martin
Date:		Thu Feb 28 20:26:18 UTC 2002

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

Log Message:
Enforce a lower bound of 32 for tcp_mssdflt.

This avoids kernel crashes when we don't handle nonsensial values
like 0 gracefully. Better check here once beforehand than having to
check for non meaningful values in time critical paths (like tcp_output).

Fixes PR 15709.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 syssrc/sys/netinet/tcp_usrreq.c

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