cvs commit: src/sys/net bpf.c

Robert Watson rwatson at FreeBSD.org
Mon Feb 28 14:04:09 GMT 2005


rwatson     2005-02-28 14:04:09 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bpf.c 
  Log:
  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.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.144     +2 -1      src/sys/net/bpf.c


More information about the cvs-src mailing list