cvs commit: src/sys/net bpf.c
    Sepherosa Ziehau 
    sephe at crater.dragonflybsd.org
       
    Sat Aug 16 20:45:21 PDT 2008
    
    
  
sephe       2008/08/16 20:44:48 PDT
DragonFly src repository
  Modified files:
    sys/net              bpf.c 
  Log:
  Various tap functions of bpf(4) are the only non-MPSAFE code on ethernet
  input path (in polling or interrupt threads), so push mplock holding down
  into bpf(4) tap functions.  Also re-check the bpf_if after holding mplock
  to avoid use-after-check race.
  
  Revision  Changes    Path
  1.47      +23 -1     src/sys/net/bpf.c
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.c.diff?r1=1.46&r2=1.47&f=u
    
    
More information about the Commits
mailing list