From ec93db95da1dd504a29481bc6130137b38097edd Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 11 Dec 2008 10:29:35 +0000 Subject: 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 --- sys/netipx/ipx_usrreq.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/netipx') diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index f3f9897..a42f4d2 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -412,6 +412,7 @@ ipx_ctloutput(struct socket *so, struct sockopt *sopt) case SO_IPX_CHECKSUM: mask = IPXP_CHECKSUM; + goto set_head; case SO_HEADERS_ON_OUTPUT: mask = IPXP_RAWOUT; -- cgit v1.1