summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_socket.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-27 13:27:29 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-27 13:27:29 +0000
commit620d3a061aa343f5fabbfdc369d74e87189fef92 (patch)
tree769e8293df5c249233664d81a8ffaa24cab97e38 /sys/compat/linux/linux_socket.c
parenta60d23cf894b723792016c5977d047e4c0f1674a (diff)
Retire kernel support for SO_DONTROUTE, since the plan is to always
use the routing table there's no future for an option that wants to bypass it. This option has never been implemented for IPv6 anyway, so let's just remove the IPv4 bits that you weren't aware of. Tested by florian@, man pages inputs from jmc@, ok benno@
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
-rw-r--r--sys/compat/linux/linux_socket.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index caab7b4fbcf..8df363627cf 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.c,v 1.49 2014/03/26 05:23:42 guenther Exp $ */
+/* $OpenBSD: linux_socket.c,v 1.50 2014/03/27 13:27:28 mpi Exp $ */
/* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */
/*
@@ -215,8 +215,6 @@ linux_to_bsd_msg_flags(int lflags)
flags |= MSG_OOB;
if (lflags & LINUX_MSG_PEEK)
flags |= MSG_PEEK;
- if (lflags & LINUX_MSG_DONTROUTE)
- flags |= MSG_DONTROUTE;
if (lflags & LINUX_MSG_DONTWAIT)
flags |= MSG_DONTWAIT;
if (lflags & LINUX_MSG_WAITALL)