Drop blocks and instert silence immediately in the socket rx/tx code
authorratchov <ratchov@openbsd.org>
Tue, 31 Dec 2013 12:27:49 +0000 (12:27 +0000)
committerratchov <ratchov@openbsd.org>
Tue, 31 Dec 2013 12:27:49 +0000 (12:27 +0000)
commitd1a2c4f63a6c1102173439859f4026dd8b43659b
tree792490438c10bd2bb8ad8b9c1102a55f99ed554a
parentfd3cf84a9d478368611c9617594fec66cf754f54
Drop blocks and instert silence immediately in the socket rx/tx code
path rather than waiting for the next device cycle. This fixes deadocks
when the slot uses the SIO_SYNC mode.
usr.bin/sndiod/dev.c