Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 00:19:28 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net bpf.c bpfdesc.h
Message-ID:  <200409090019.i890JSK2086272@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-09-09 00:19:28 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c bpfdesc.h 
  Log:
  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



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