Do not hold the ifnet serializer when entering tsleep() in the PPP TUN
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 1 Dec 2005 21:15:54 +0000 (21:15 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 1 Dec 2005 21:15:54 +0000 (21:15 +0000)
commit97a60269b3162dd82153658c12dd5c742549b672
tree9fe79f698fb8f1443269917f6831edb3e9020a45
parentbf189c26eef6d4c0eddb382f269c593999439812
Do not hold the ifnet serializer when entering tsleep() in the PPP TUN
interface code.  This can deadlock the network protocol threads.

Reported-by: Stefan Krueger
sys/net/tun/if_tun.c