All of lore.kernel.org
 help / color / mirror / Atom feed
* net: irda: hang when doing anything to a socket in accept()
@ 2013-12-06 21:04 Sasha Levin
  0 siblings, 0 replies; only message in thread
From: Sasha Levin @ 2013-12-06 21:04 UTC (permalink / raw)
  To: samuel, David S. Miller; +Cc: netdev, LKML

Hi all,

I've noticed that once an IRDA socket is in accept(), any further action that requires locking the
socket will result in a hang until accept() is completed (which may take a while). After a while
hung task spew is printed out.

		thread 1		|		thread 2
					|
	listen(sock)			|	
		bind(sock)		|
			accept(sock)	|
					|	setsockopt(sock)
						*HANG*	

I'm not sure I can provide a properly tested fix since I don't actually have IRDA hardware to test
on.


Thanks,
Sasha

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-06 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 21:04 net: irda: hang when doing anything to a socket in accept() Sasha Levin

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.