- Move error exit in front of tsleep_interlock()
authorSimon Schubert <corecode@dragonflybsd.org>
Fri, 21 Jul 2006 00:51:13 +0000 (00:51 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Fri, 21 Jul 2006 00:51:13 +0000 (00:51 +0000)
commit2775434d9630fb3fd68ff0d82ae28d7b05417e5a
tree4c5630041822e71e8421aa6d691e40e11bcf8dda
parent0d4982d0be90479dee6534a5448a6ad851cc2738
- Move error exit in front of tsleep_interlock()
- invoke tsleep_interlock and tsleep in a critical section
- release the serializer on error exit
sys/net/tap/if_tap.c