From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: john.dykstra1@gmail.com, lists@nerdbynature.de,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
gilad@codefidence.com
Subject: Re: Badness at net/ipv4/inet_connection_sock.c:293
Date: Tue, 15 Dec 2009 20:50:55 -0800 (PST) [thread overview]
Message-ID: <20091215.205055.193693273.davem@davemloft.net> (raw)
In-Reply-To: <20091214.231840.106434922.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
Date: Mon, 14 Dec 2009 23:18:40 -0800 (PST)
> From: David Miller <davem@davemloft.net>
> Date: Mon, 14 Dec 2009 14:35:22 -0800 (PST)
>
>> From: Eric Dumazet <eric.dumazet@gmail.com>
>> Date: Mon, 14 Dec 2009 20:23:32 +0100
>>
>>> If you disable syncookies, I presume you dont have warnings ?
>>
>> It happens even with syncookies disabled, hmmm...
>
> FWIW, I'm starting to bisect this.
Ok, it's the patch series that adds all of the per-route
SACK/DSACK/TIMESTAMP controls.
I hand reverted the entire series and the badness triggers no longer
occur. I couldn't bisect through the individual changes because of
all of the bug fixes that happened at the end of them.
I'm pretty sure the problem eminates from changing the 'estab'
parameter passed into tcp_parse_options() from
tcp_timewait_state_process() and tcp_check_req().
But even if we fix that, this patch series is very fundamentally
broken. It takes the 'dst' for the listening socket when creating new
incoming connections in tcp_check_req() to probe the per-route settings.
Listening sockets don't have a route. So this can't ever work
properly.
And getting the route for the child request we're making (the right
one) can't be done until we setup all of the state and call down into
the code which emits the SYN+ACK packet and look the route up by hand.
I'm simply going to revert this entire series. Sorry this didn't work
out, but we're not adding this feautre this time around. Maybe you
can write a working version for the next merge widnow.
next prev parent reply other threads:[~2009-12-16 4:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-12 7:43 Christian Kujau
2009-12-12 9:03 ` David Miller
2009-12-12 9:22 ` Eric Dumazet
2009-12-12 10:06 ` lists
2009-12-14 5:56 ` Eric Dumazet
2009-12-14 7:45 ` David Miller
2009-12-14 17:34 ` Eric Dumazet
2009-12-14 18:19 ` David Miller
2009-12-14 18:57 ` John Dykstra
2009-12-14 19:11 ` David Miller
2009-12-14 19:16 ` David Miller
2009-12-14 19:23 ` Eric Dumazet
2009-12-14 19:26 ` David Miller
2009-12-14 22:35 ` David Miller
2009-12-15 7:18 ` David Miller
2009-12-15 8:45 ` Eric Dumazet
2009-12-16 4:50 ` David Miller [this message]
2009-12-16 4:57 ` David Miller
2009-12-14 19:22 ` Eric Dumazet
2009-12-14 19:24 ` David Miller
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=20091215.205055.193693273.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=gilad@codefidence.com \
--cc=john.dykstra1@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@nerdbynature.de \
--cc=netdev@vger.kernel.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
all inboxes | Powered by JetHome®