Use if_get() after every tsleep(), in case the bottom half of the driver
authorderaadt <deraadt@openbsd.org>
Wed, 29 Apr 2015 16:00:06 +0000 (16:00 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 29 Apr 2015 16:00:06 +0000 (16:00 +0000)
commit8ac1333ffcd3f784e7ceab623bc479f40176736e
tree39e3ef97c3d89dd309fa1fd994b8bc72fd99be6c
parent50586f8196e06f0e2d5d771e8beae1866a4f4724
Use if_get() after every tsleep(), in case the bottom half of the driver
has destroyed or damaged the interface clone.
with mpi
sys/net/if_tun.c