Subject: CVS commit: syssrc/sys/compat/linux/common
To: None <source-changes@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 05/12/2002 21:30:33
Module Name:	syssrc
Committed By:	jschauma
Date:		Sun May 12 18:30:33 UTC 2002

Modified Files:
	syssrc/sys/compat/linux/common: linux_socket.c

Log Message:
Linux does not implement SO_REUSEPORT, but allows reuse of a
host:port pair through SO_REUSEADDR even if the address is not a
multicast-address.  Effectively, this means that we should use
SO_REUSEPORT when SO_REUSEADDR is set (from the linux process)
to allow Linux applications to not exit with EADDRINUSE.

(Previously erraneously applied to 1.5 branch; approved for
proper location by thorpej)


To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 syssrc/sys/compat/linux/common/linux_socket.c

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