From owner-svn-src-head@FreeBSD.ORG Fri Oct 17 01:25:45 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA755106568A; Fri, 17 Oct 2008 01:25:45 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B8D2A8FC08; Fri, 17 Oct 2008 01:25:45 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9H1Pjno074924; Fri, 17 Oct 2008 01:25:45 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9H1PjE3074923; Fri, 17 Oct 2008 01:25:45 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200810170125.m9H1PjE3074923@svn.freebsd.org> From: Kip Macy Date: Fri, 17 Oct 2008 01:25:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r183963 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 01:25:45 -0000 Author: kmacy Date: Fri Oct 17 01:25:45 2008 New Revision: 183963 URL: http://svn.freebsd.org/changeset/base/183963 Log: make sure that SO_NO_DDP and SO_NO_OFFLOAD get passed in correctly PR: 127360 MFC after: 3 days Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c ============================================================================== --- head/sys/kern/uipc_socket.c Thu Oct 16 22:45:07 2008 (r183962) +++ head/sys/kern/uipc_socket.c Fri Oct 17 01:25:45 2008 (r183963) @@ -2194,6 +2194,8 @@ sosetopt(struct socket *so, struct socko 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)