cvs commit: src/sys/net bpf.c

Robert Watson rwatson at FreeBSD.org
Thu Mar 31 21:35:47 PST 2005


rwatson     2005-04-01 05:35:46 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/net              bpf.c 
  Log:
  Merge bpf.c:1.144 from HEAD to RELENG_5:
  
    In bpf_setf(), protect against races between multiple user threads
    attempting to change the BPF filter on a BPF descriptor at the same
    time: retrieve the old filter pointer under the same locked region
    as setting the new pointer.
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.133.2.9  +2 -1      src/sys/net/bpf.c


More information about the cvs-src mailing list