cvs commit: src/sys/net/tap if_tap.c if_tapvar.h

Matthew Dillon dillon at
Fri Sep 5 10:06:00 PDT 2008

dillon      2008/09/05 10:03:15 PDT

DragonFly src repository

  Modified files:
    sys/net/tap          if_tap.c if_tapvar.h 
  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

More information about the Commits mailing list