cvs commit: src/sys/net bpf.c

Brian Feldman green at
Tue Oct 5 21:25:38 PDT 2004

green       2004-10-06 04:25:37 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  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
  Revision  Changes    Path
  1.137     +1 -1      src/sys/net/bpf.c

More information about the cvs-all mailing list