cvs commit: src/sys/net bpf.c

Christian S.J. Peron csjp at FreeBSD.org
Tue Jul 26 17:21:56 GMT 2005


csjp        2005-07-26 17:21:56 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  Log:
  Rather than hold a mutex over calls to SYSCTL_OUT allocate a
  temporary buffer then pass the array to user-space once we have
  dropped the lock.
  
  While we are here, drop an assertion which could result in a
  kernel panic under certain race conditions.
  
  Pointed out by: rwatson
  
  Revision  Changes    Path
  1.155     +14 -12    src/sys/net/bpf.c


More information about the cvs-all mailing list