From: "jungwon park" <jwpark2@whitecode.co.kr>
To: <netdev@vger.kernel.org>
Subject: GRO issue with kernel 3.4.94 (icmp fragmentation needed)
Date: Fri, 27 Jun 2014 08:42:05 +0900 [thread overview]
Message-ID: <000201cf9198$3cfa3200$b6ee9600$@whitecode.co.kr> (raw)
In-Reply-To:
When using the linux router is turned on GRO, router send the 'fragmentation
needed' packets to the sender.
and the sender's packets are dropped.
The router seems to handle the larger than MTU(1500) with TCP segments by
GRO.
topology : [Host A] - [Linux Router] - [Host B] kernel : 3.4.94 GRO : on MTU
: 1500
tcpdmp :
10:36:36.592752 IP (tos 0x0, ttl 127, id 15685, offset 0, flags [DF], proto
TCP (6), length 198) x.x.x.x.49512 > x.x.x.x.445: P 908:1066(158) ack 587
win 254
10:36:36.592911 IP (tos 0x0, ttl 128, id 9712, offset 0, flags [DF], proto
TCP (6), length 117) x.x.x.x.445 > x.x.x.x.49512: P 587:664(77) ack 1066 win
252
10:36:36.594552 IP (tos 0x0, ttl 127, id 15686, offset 0, flags [DF], proto
TCP (6), length 390) x.x.x.x.49512 > x.x.x.x.445: P 1066:1416(350) ack 664
win 254
10:36:36.596544 IP (tos 0x0, ttl 128, id 9713, offset 0, flags [DF], proto
TCP (6), length 2960) x.x.x.x.445 > x.x.x.x.49512: . 664:3584(2920) ack 1416
win 251
10:36:36.596566 IP (tos 0xc0, ttl 64, id 8339, offset 0, flags [none], proto
ICMP (1), length 576) x.x.x.x > x.x.x.x: ICMP x.x.x.x unreachable - need to
frag (mtu 1500), length 556
IP (tos 0x0, ttl 128, id 9713, offset 0, flags [DF], proto TCP (6),
length 2960) x.x.x.x.445 > x.x.x.x.49512: tcp 2940 [bad hdr length 0 - too
short, < 20][|icmp]
When I turned off GRO, the router operate normally, and there is no problem.
and with 3.4.91 kernel, the router has no problem.
I doubt 'ipv4: ip_forward: fix inverted local_df test' patch.
(http://patchwork.ozlabs.org/patch/345509/)
When I revert this patch, the router has no problem.
(sorry my poor english.)
next reply other threads:[~2014-06-27 0:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 23:42 jungwon park [this message]
2014-06-27 9:05 ` GRO issue with kernel 3.4.94 (icmp fragmentation needed) Florian Westphal
2014-06-27 10:07 ` jungwon park
-- strict thread matches above, loose matches on Subject: below --
2014-07-11 15:12 Fwd: " Thomas Jarosch
2014-07-30 0:22 ` Greg KH
2014-07-30 6:37 ` Florian Westphal
2014-07-31 19:21 ` 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='000201cf9198$3cfa3200$b6ee9600$@whitecode.co.kr' \
--to=jwpark2@whitecode.co.kr \
--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).