All of lore.kernel.org
 help / color / mirror / Atom feed
* shutdown(3) and bluetooth.
@ 2013-11-12 21:11 Dave Jones
  2013-11-12 21:13   ` David Miller
  2013-11-12 21:56   ` Marcel Holtmann
  0 siblings, 2 replies; 17+ messages in thread
From: Dave Jones @ 2013-11-12 21:11 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-13 14:02 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 21:11 shutdown(3) and bluetooth Dave Jones
2013-11-12 21:13 ` David Miller
2013-11-12 21:13   ` David Miller
2013-11-13 14:02   ` John W. Linville
2013-11-12 21:56 ` Marcel Holtmann
2013-11-12 21:56   ` Marcel Holtmann
2013-11-12 22:10   ` Dave Jones
2013-11-12 22:10     ` Dave Jones
2013-11-12 22:32     ` Marcel Holtmann
2013-11-12 22:32       ` Marcel Holtmann
2013-11-12 22:48       ` Dave Jones
2013-11-12 22:48         ` Dave Jones
2013-11-12 23:37         ` Marcel Holtmann
2013-11-12 23:37           ` Marcel Holtmann
2013-11-13  0:28           ` Dave Jones
2013-11-13  0:28             ` Dave Jones
2013-11-13  1:58             ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.