cvs commit: src/sys/net bpf.c bpfdesc.h

Robert Watson rwatson at
Wed Sep 8 17:19:28 PDT 2004

rwatson     2004-09-09 00:19:28 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c bpfdesc.h 
  Reformulate use of linked lists in 'struct bpf_d' and 'struct bpf_if'
  to use queue(3) list macros rather than hand-crafted lists.  While
  here, move to doubly linked lists to eliminate iterating lists in
  order to remove entries.  This change simplifies and clarifies the
  list logic in the BPF descriptor code as a first step towards revising
  the locking strategy.
  RELENG_5 candidate.
  Reviewed by:    fenner
  Revision  Changes    Path
  1.135     +20 -35    src/sys/net/bpf.c
  1.28      +4 -3      src/sys/net/bpfdesc.h

More information about the cvs-src mailing list