cvs commit: src/sys/netipsec key.c

Bjoern A. Zeeb bz at FreeBSD.org
Sat Mar 8 18:38:27 UTC 2008


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


More information about the cvs-all mailing list