DragonFly commits List (threaded) for 2008-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net bpf.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]