svn commit: r185928 - head/sys/netipx
Robert Watson
rwatson at FreeBSD.org
Thu Dec 11 02:29:35 PST 2008
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;
More information about the svn-src-all
mailing list