summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2011-07-07 10:37:14 +0000
committerandre <andre@FreeBSD.org>2011-07-07 10:37:14 +0000
commit19bc1179a677977e61b7ea614571131cacc3e6f4 (patch)
tree80bd24d26b19ebc166bc4e70f71f811b97319f87 /sys/kern/uipc_socket.c
parent20c98461752d97ced076d54e28a0f97e4ecbd4a7 (diff)
downloadFreeBSD-src-19bc1179a677977e61b7ea614571131cacc3e6f4.zip
FreeBSD-src-19bc1179a677977e61b7ea614571131cacc3e6f4.tar.gz
Remove the TCP_SORECEIVE_STREAM compile time option. The use of
soreceive_stream() for TCP still has to be enabled with the loader tuneable net.inet.tcp.soreceive_stream. Suggested by: trociny and others
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 3334fc2..89a1006 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1915,7 +1915,6 @@ release:
/*
* Optimized version of soreceive() for stream (TCP) sockets.
*/
-#ifdef TCP_SORECEIVE_STREAM
int
soreceive_stream(struct socket *so, struct sockaddr **psa, struct uio *uio,
struct mbuf **mp0, struct mbuf **controlp, int *flagsp)
@@ -2109,7 +2108,6 @@ out:
sbunlock(sb);
return (error);
}
-#endif /* TCP_SORECEIVE_STREAM */
/*
* Optimized version of soreceive() for simple datagram cases from userspace.
OpenPOWER on IntegriCloud