cvs commit: src/sys/net bpf.c

Sepherosa Ziehau sephe at
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 
  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

More information about the Commits mailing list