cvs commit: src/sys/netinet6 in6_cksum.c

Yar Tikhiy yar at FreeBSD.org
Fri Jun 30 18:25:08 UTC 2006


yar         2006-06-30 18:25:07 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_cksum.c 
  Log:
  We needn't check "m" for NULL here because "off" should be within
  the mbuf chain.  If we ever get a buggy caller, a bogus "off" should
  be caught by the sanity check at the function entry.  Null "m" here
  means a very unusual condition of a totally broken mbuf chain (wrong
  m_pkthdr.len or whatever), so we can just page fault later.
  
  Found by:       Coverity Prevent(tm)
  CID:            825
  
  Revision  Changes    Path
  1.13      +1 -1      src/sys/netinet6/in6_cksum.c


More information about the cvs-src mailing list