Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/17/2000 05:57:08
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Oct 17 02:57:05 UTC 2000

Modified Files:
	syssrc/sys/netinet: ip_output.c ip_var.h tcp_input.c tcp_output.c
	    tcp_subr.c

Log Message:
Add an IP_MTUDISC flag to the flags that can be passed to
ip_output().  This flag, if set, causes ip_output() to set
DF in the IP header if the MTU in the route is not locked.

This allows a bunch of redundant code, which I was never
really all that happy about adding in the first place, to
be eliminated.

Inspired by a similar change made by provos@openbsd.org when
he integrated NetBSD's Path MTU Discovery code into OpenBSD.


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 syssrc/sys/netinet/ip_output.c
cvs rdiff -r1.42 -r1.43 syssrc/sys/netinet/ip_var.h
cvs rdiff -r1.117 -r1.118 syssrc/sys/netinet/tcp_input.c
cvs rdiff -r1.58 -r1.59 syssrc/sys/netinet/tcp_output.c
cvs rdiff -r1.94 -r1.95 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.