make sure that SO_NO_DDP and SO_NO_OFFLOAD get passed in correctly

PR:		127360
MFC after:	3 days
This commit is contained in:
Kip Macy 2008-10-17 01:25:45 +00:00
parent 65a9b18218
commit 5a1760fc92

View File

@ -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)