diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2008-12-11 10:29:35 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2008-12-11 10:29:35 +0000 |
commit | 3ae8e30a133746f1026da156129e02682b8b0c39 (patch) | |
tree | 7e5de7cba05127a91b178f0019a7717d1093a0c1 /sys | |
parent | d9964624bd0500e8151997776c0d046d9c6af0f6 (diff) | |
download | src-3ae8e30a133746f1026da156129e02682b8b0c39.tar.gz src-3ae8e30a133746f1026da156129e02682b8b0c39.zip |
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
Notes
Notes:
svn path=/head/; revision=185928
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netipx/ipx_usrreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index f3f989761efc..a42f4d224d46 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; |