Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 14:04:09 +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
Message-ID:  <200502281404.j1SE49dR025278@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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