summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-10-17 01:25:45 +0000
committerkmacy <kmacy@FreeBSD.org>2008-10-17 01:25:45 +0000
commitf9a07efdb6b80bdada53f7869e131fec6834357b (patch)
treef35a808ddfc87c794048131e5ae6b56e6878773f /sys/kern/uipc_socket.c
parent3c06fc1b163d867dbf870f99b31a4ebe6711182c (diff)
downloadFreeBSD-src-f9a07efdb6b80bdada53f7869e131fec6834357b.zip
FreeBSD-src-f9a07efdb6b80bdada53f7869e131fec6834357b.tar.gz
make sure that SO_NO_DDP and SO_NO_OFFLOAD get passed in correctly
PR: 127360 MFC after: 3 days
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 2f8fc64..eb587fb 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -2194,6 +2194,8 @@ sosetopt(struct socket *so, struct sockopt *sopt)
case SO_TIMESTAMP:
case SO_BINTIME:
case SO_NOSIGPIPE:
+ case SO_NO_DDP:
+ case SO_NO_OFFLOAD:
error = sooptcopyin(sopt, &optval, sizeof optval,
sizeof optval);
if (error)
OpenPOWER on IntegriCloud