Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 04:25:37 +0000 (UTC)
From:      Brian Feldman <green@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:  <200410060425.i964PbnT002852@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
green       2004-10-06 04:25:37 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  Log:
  Don't recurse the BPF descriptor lock during the BIOCSDLT operation
  (and panic).  To try to finish making BPF safe, at the very least,
  the BPF descriptor lock really needs to change into a reader/writer
  lock that controls access to "settings," and a mutex that controls
  access to the selinfo/knote/callout.  Also, use of callout_drain()
  instead of callout_stop() (which is really a much more widespread
  issue).
  
  Revision  Changes    Path
  1.137     +1 -1      src/sys/net/bpf.c



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