Date: Sat, 8 Mar 2008 18:38:25 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netipsec key.c Message-ID: <200803081838.m28IcQfP036460@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-03-08 18:38:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/netipsec key.c
Log:
MFC rev. 1.27 key.c
'spi' and the return value of ntohl are unsigned. Remove the extra >=0
check which was always true.
Document the special meaning of spi values of 0 and 1-255 with a comment.
Found with: Coverity Prevent(tm)
CID: 2047
Revision Changes Path
1.20.2.5 +6 -1 src/sys/netipsec/key.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803081838.m28IcQfP036460>
