cvs commit: src/sys/net bpf.c

Robert Watson rwatson at FreeBSD.org
Wed Aug 9 16:30:27 UTC 2006


rwatson     2006-08-09 16:30:26 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  Log:
  Since bpf_allocbufs() uses malloc() with M_WAITOK, don't check return
  values for NULL or return an error state.  Assert that all three bpf
  buffer pointers are NULL before starting.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.172     +9 -16     src/sys/net/bpf.c


More information about the cvs-all mailing list