From owner-svn-src-all@FreeBSD.ORG Thu Dec 11 10:29:35 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1C7106564A; Thu, 11 Dec 2008 10:29:35 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBC48FC19; Thu, 11 Dec 2008 10:29:35 +0000 (UTC) (envelope-from rwatson@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 mBBATZbP062800; Thu, 11 Dec 2008 10:29:35 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBBATZmH062799; Thu, 11 Dec 2008 10:29:35 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200812111029.mBBATZmH062799@svn.freebsd.org> From: Robert Watson Date: Thu, 11 Dec 2008 10:29:35 +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: r185928 - head/sys/netipx X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 10:29:35 -0000 Author: rwatson Date: Thu Dec 11 10:29:35 2008 New Revision: 185928 URL: http://svn.freebsd.org/changeset/base/185928 Log: Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through to the SO_HEADERS_ON_OUTPUT case and set that instead. MFC after: 1 week Found with: Coverity Prevent(tm) Coverity ID: 3988 Modified: head/sys/netipx/ipx_usrreq.c Modified: head/sys/netipx/ipx_usrreq.c ============================================================================== --- head/sys/netipx/ipx_usrreq.c Thu Dec 11 09:52:45 2008 (r185927) +++ head/sys/netipx/ipx_usrreq.c Thu Dec 11 10:29:35 2008 (r185928) @@ -412,6 +412,7 @@ ipx_ctloutput(struct socket *so, struct case SO_IPX_CHECKSUM: mask = IPXP_CHECKSUM; + goto set_head; case SO_HEADERS_ON_OUTPUT: mask = IPXP_RAWOUT;