Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/compat/linux/common Undo my own bad - change did no...
details: https://anonhg.NetBSD.org/src/rev/7250387b066a
branches: netbsd-1-5
changeset: 493105:7250387b066a
user: jschauma <jschauma%NetBSD.org@localhost>
date: Sun May 12 00:02:33 2002 +0000
description:
Undo my own bad - change did not belong into 1.5 branch. Sorry.
diffstat:
sys/compat/linux/common/linux_socket.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (25 lines):
diff -r f4aec64f5c10 -r 7250387b066a sys/compat/linux/common/linux_socket.c
--- a/sys/compat/linux/common/linux_socket.c Sat May 11 14:19:20 2002 +0000
+++ b/sys/compat/linux/common/linux_socket.c Sun May 12 00:02:33 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.c,v 1.24.4.3 2002/05/11 14:19:20 jschauma Exp $ */
+/* $NetBSD: linux_socket.c,v 1.24.4.4 2002/05/12 00:02:33 jschauma Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -264,14 +264,7 @@
case LINUX_SO_DEBUG:
return SO_DEBUG;
case LINUX_SO_REUSEADDR:
- /*
- * 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 to allow Linux applications to not exit with
- * EADDRINUSE
- */
- return SO_REUSEPORT;
+ return SO_REUSEADDR;
case LINUX_SO_TYPE:
return SO_TYPE;
case LINUX_SO_ERROR:
Home |
Main Index |
Thread Index |
Old Index