Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 17:21:56 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net bpf.c
Message-ID:  <200507261721.j6QHLuxm048326@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507261721.j6QHLuxm048326>