From: Sasha Levin <sasha.levin@oracle.com>
To: samuel@sortiz.org, "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: net: irda: hang when doing anything to a socket in accept()
Date: Fri, 06 Dec 2013 16:04:26 -0500 [thread overview]
Message-ID: <52A23BDA.9000303@oracle.com> (raw)
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
reply other threads:[~2013-12-06 21:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A23BDA.9000303@oracle.com \
--to=sasha.levin@oracle.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=samuel@sortiz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).