1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

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
This commit is contained in:
Robert Watson 2008-12-11 10:29:35 +00:00
parent d9964624bd
commit 3ae8e30a13
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185928

View File

@ -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;