From: Tim Gardner <tim.gardner@canonical.com>
To: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
lamont@canonical.com, sconklin@canonical.com,
netdev@vger.kernel.org
Subject: Re: Reported regression against commit a05d2ad
Date: Tue, 21 Jun 2011 14:38:50 -0600 [thread overview]
Message-ID: <4E01015A.2030709@canonical.com> (raw)
In-Reply-To: <20110621201528.GB2249@herton-IdeaPad-Y430>
On 06/21/2011 02:15 PM, Herton Ronaldo Krzesinski wrote:
> Hi,
>
> after update to one of the latest 2.6.32.x stable kernels for Ubuntu, we
> got a regression report about timeout in tcp connections
> (https://launchpad.net/bugs/791512).
>
> We tried help reporter with a bisect process, but it was taking some
> time, so we reverted some suspect commits, until we isolated it to
> commit "af_unix: Only allow recv on connected seqpacket sockets."
>
> With only commit a05d2ad reverted, testing results so far indicate the
> issue doesn't happen.
>
> I'm unfamiliar with unix sockets code, so can't see at first why this
> commit in particular is causing problems, for now I can only say may be
> something at application level using unix sockets regressed with it (?).
> I'm just reporting it right now, and we plan to revert it for that kernel
> until more info is found about it.
>
> I'm adding reporter to CC (Lamont), in case more details are necessary
> etc.
>
I believe we're also homing in on the same regression in 2.6.38.6
('af_unix: Only allow recv on connected seqpacket sockets.'). The
functional part of the patch is:
+
+ if (sk->sk_state != TCP_ESTABLISHED)
+ return -ENOTCONN;
+
+ return unix_dgram_recvmsg(iocb, sock, msg, size, flags);
What happens with out of order receives? Would fragmentation have an impact?
rtg
--
Tim Gardner tim.gardner@canonical.com
next prev parent reply other threads:[~2011-06-21 20:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-21 20:15 Reported regression against commit a05d2ad Herton Ronaldo Krzesinski
2011-06-21 20:38 ` Tim Gardner [this message]
2011-06-21 20:54 ` Eric W. Biederman
2011-06-21 20:49 ` Eric W. Biederman
2011-06-22 17:32 ` Tim Gardner
2011-06-22 18:00 ` Eric W. Biederman
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=4E01015A.2030709@canonical.com \
--to=tim.gardner@canonical.com \
--cc=ebiederm@xmission.com \
--cc=herton.krzesinski@canonical.com \
--cc=lamont@canonical.com \
--cc=netdev@vger.kernel.org \
--cc=sconklin@canonical.com \
/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).