From: John Dykstra <john.dykstra1@gmail.com>
To: netdev@vger.kernel.org
Subject: Re: [Bugme-new] [Bug 12327] New: Intermittent TCP issues with => 2.6.27
Date: Fri, 09 Jan 2009 00:14:51 +0000 [thread overview]
Message-ID: <1231460091.11674.94.camel@Maple> (raw)
In-Reply-To: <4966160A.20001@haveacry.com>
On Fri, 2009-01-09 at 00:04 +0900, Speedster wrote:
> Attached (all are the exact same attempted connection), and reveal some
> interesting information.
>
> The path the inbound traffic should take is
> 1. vlan50 (host)
> 2. tap interface vnet3 (host) / eth0 (guest)
> 3. ppp0 (guest)
>
> It looks as though when it is sent out the tap interface the payload
> length is incorrect in the PPPoE section of the frame. When it arrives
> via vlan50 it appears fine. Or at least that's what wireshark highlights
> for me :)
The length field in the PPPoE header doesn't change.
The packet arrives from the ISP with its PPPoE header length field
showing two extra bytes past the IP payload. The bridge or something
close to it trims those two bytes from the sk_buff, leaving a packet
whose PPPoE header is wrong, but whose upper headers make sense. The
PPPoE driver in the virtual machine then drops the packet.
I haven't unscrambled where the drop occurs in the PPPoE driver, but
that's presumably what changed in 2.6.27. It seems to me that the drop
is proper. What's wrong is trimming the sk_buff to match the IP header
while ignoring the L2 header, and that's apparently been that way for a
while (if I understand what the reporter is running where).
Or have I screwed up my first posting to netdev?
-- John
next prev parent reply other threads:[~2009-01-09 0:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-12327-10286@http.bugzilla.kernel.org/>
2008-12-30 5:41 ` [Bugme-new] [Bug 12327] New: Intermittent TCP issues with => 2.6.27 Andrew Morton
2008-12-31 20:32 ` Ilpo Järvinen
2008-12-31 23:22 ` Speedster
2009-01-02 8:34 ` Herbert Xu
2009-01-05 11:19 ` Speedster
2009-01-06 19:10 ` Ilpo Järvinen
2009-01-06 21:19 ` Speedster
2009-01-07 4:17 ` Herbert Xu
2009-01-07 13:49 ` Speedster
2009-01-08 3:07 ` Herbert Xu
2009-01-08 13:13 ` Ilpo Järvinen
2009-01-08 15:04 ` Speedster
2009-01-08 16:37 ` Stephen Hemminger
2009-01-08 19:39 ` Ilpo Järvinen
2009-01-08 19:54 ` Stephen Hemminger
2009-01-08 21:54 ` Herbert Xu
2009-01-09 0:14 ` John Dykstra [this message]
2009-01-09 0:30 ` John Dykstra
[not found] <e7c4531f0901081558n429f7275w717774dbe9ccd895@mail.gmail.com>
2009-01-09 3:14 ` Herbert Xu
2009-01-09 11:55 ` Herbert Xu
2009-01-09 12:04 ` Herbert Xu
2009-01-12 5:30 ` Patrick McHardy
2009-01-13 10:50 ` Speedster
2009-03-06 10:39 ` Dean Holland
2009-03-25 13:26 ` Ilpo Järvinen
2009-01-12 5:27 ` Patrick McHardy
2009-01-12 5:25 ` Patrick McHardy
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=1231460091.11674.94.camel@Maple \
--to=john.dykstra1@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).