lkml.org 
[lkml]   [2013]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectnet: irda: hang when doing anything to a socket in accept()
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


\
 
 \ /
  Last update: 2013-12-06 22:21    [W:0.025 / U:2.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site