Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 1996 13:14:50 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        archie@whistle.com, freebsd-current@freebsd.org
Subject:   Re: /dev/tun0 question
Message-ID:  <199612020214.NAA07079@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>Try the following command (if you have a tunnel device configured)..
>
>  cat < /dev/tun0
>
>The process gets stuck in disk wait and can't be killed, even with
>kill -9 .. how come?

tunread() sleeps uninterruptibly.  This should be easy to fix - just
add PCATCH to the tsleep flags and return if the sleep is interrupted.
There seems to be no state to clean up.

Bruce


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612020214.NAA07079>