[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131112211125.GA2912@redhat.com>
Date: Tue, 12 Nov 2013 16:11:25 -0500
From: Dave Jones <davej@...hat.com>
To: netdev@...r.kernel.org
Subject: shutdown(3) and bluetooth.
Is shutdown() allowed to block indefinitely ? The man page doesn't say either way,
and I've noticed that my fuzz tester occasionally hangs for days spinning in bt_sock_wait_state()
Is there something I should be doing to guarantee that this operation
will either time out, or return instantly ?
In this specific case, I doubt anything is on the "sender" end of the socket, so
it's going to be waiting forever for a state change that won't arrive.
Dave
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists