DragonFly commits List (threaded) for 2008-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/net/tap if_tap.c if_tapvar.h
dillon 2008/09/05 10:03:15 PDT
DragonFly src repository
Modified files:
sys/net/tap if_tap.c if_tapvar.h
Log:
Fix a crash on access to TAP's owning thread. The owning thread can go away
with the descriptor still open, for example if the opening process forks
into a background daemon and the foreground process exits.
Use the SIGIO mechanic to record the owning thread so we can detect if
the process goes away.
Revision Changes Path
1.41 +10 -6 src/sys/net/tap/if_tap.c
1.6 +1 -1 src/sys/net/tap/if_tapvar.h
http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tap.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tapvar.h.diff?r1=1.5&r2=1.6&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]