* Re: 3.4.92 MTU issues
[not found] <53975FF9.5070803@egervary.hu>
@ 2014-06-10 21:16 ` Alexei Starovoitov
2014-06-10 21:37 ` Florian Westphal
0 siblings, 1 reply; 3+ messages in thread
From: Alexei Starovoitov @ 2014-06-10 21:16 UTC (permalink / raw)
To: Egerváry Gergely
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
Florian Westphal
cc-ing netdev
On Tue, Jun 10, 2014 at 12:43 PM, Egerváry Gergely <gergely@egervary.hu> wrote:
> Hi,
>
> we have just upgraded our systems from 3.4.91 (longterm) to 3.4.92.
> Since then we are experiencing dozens of MTU-related network timeout
> issues. Reverting back to 3.4.91 fixes all of these problems.
>
> Both kernel versions are built from vanilla sources with the same
> .config. These can be highly reproduced over VPN tunnels or even over
> simple ethernet connections when using DNAT. (TCP port forward) It
> looks like MTU path discovery is somehow affected.
>
> ICMP is not filtered in our network. (For testing, we flushed all
> iptables rules, set all policies to ACCEPT, and problem still exists.)
> We do not use any special sysctl settings. Was there any changes
> related to packet forwarding or MTU discovery?
some combination of old kernel and backport of ("net: ipv4:
ip_forward: fix inverted local_df test") ?
just guessing
> Thank you in advance,
> --
> Gergely EGERVARY
> Network Administrator
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.4.92 MTU issues
2014-06-10 21:16 ` 3.4.92 MTU issues Alexei Starovoitov
@ 2014-06-10 21:37 ` Florian Westphal
2014-06-11 10:33 ` Egerváry Gergely
0 siblings, 1 reply; 3+ messages in thread
From: Florian Westphal @ 2014-06-10 21:37 UTC (permalink / raw)
To: Alexei Starovoitov
Cc: Egerváry Gergely, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, stable
Alexei Starovoitov <alexei.starovoitov@gmail.com> wrote:
[ Cc'ing stable team since its stable specific regression ]
> On Tue, Jun 10, 2014 at 12:43 PM, Egerváry Gergely <gergely@egervary.hu> wrote:
> > Hi,
> >
> > we have just upgraded our systems from 3.4.91 (longterm) to 3.4.92.
> > Since then we are experiencing dozens of MTU-related network timeout
> > issues. Reverting back to 3.4.91 fixes all of these problems.
> >
> > Both kernel versions are built from vanilla sources with the same
> > .config. These can be highly reproduced over VPN tunnels or even over
> > simple ethernet connections when using DNAT. (TCP port forward) It
> > looks like MTU path discovery is somehow affected.
> >
> > ICMP is not filtered in our network. (For testing, we flushed all
> > iptables rules, set all policies to ACCEPT, and problem still exists.)
> > We do not use any special sysctl settings. Was there any changes
> > related to packet forwarding or MTU discovery?
These were in earlier releases than 3.4.92.
> some combination of old kernel and backport of ("net: ipv4:
> ip_forward: fix inverted local_df test") ?
> just guessing
Excellent guess. Yes, this is the culprit.
Quoting that patch changelog:
'This wasn't noticed earlier [..] because netfilter ip defrag did not set local_df
until couple of days ago.'
-stable lacks commit 895162b1101b3ea5db08ca6822ae9672717efec0, so
netfilter never sets ->local_df. Thus all defragmented packets
that go over the mtu are refused to be forwarded.
Gergely, please either revert
commit bd91cb56f951a7b0da8c3098ea9cd56854ece66c
Author: Florian Westphal <fw@strlen.de>
net: ipv4: ip_forward: fix inverted local_df test
[ Upstream commit ca6c5d4ad216d5942ae544bbf02503041bd802aa ]
Or, alternatively, also apply upstream commit 895162b1101b3ea5db08ca6822ae9672717efec0
Author: Florian Westphal <fw@strlen.de>
Date: Fri May 2 15:32:16 2014 +0200
netfilter: ipv4: defrag: set local_df flag on defragmented skb
on top of your 3.4.92 kernel.
(The latter might be a better option since it will also fix the
long-standing issue where netfilter sends bogus frag-needed message
under very rare circumstances).
Thanks for reporting, and sorry for not noticing during stable review
cycle 8-(
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 3.4.92 MTU issues
2014-06-10 21:37 ` Florian Westphal
@ 2014-06-11 10:33 ` Egerváry Gergely
0 siblings, 0 replies; 3+ messages in thread
From: Egerváry Gergely @ 2014-06-11 10:33 UTC (permalink / raw)
To: Florian Westphal, Alexei Starovoitov
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, stable
> -stable lacks commit 895162b1101b3ea5db08ca6822ae9672717efec0, so
> netfilter never sets ->local_df. Thus all defragmented packets
> that go over the mtu are refused to be forwarded.
Thank you for your quick response. Should we expect a 3.4.93 release
with this issue fixed in a few days?
--
Gergely EGERVARY
Network Administrator
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-11 10:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <53975FF9.5070803@egervary.hu>
2014-06-10 21:16 ` 3.4.92 MTU issues Alexei Starovoitov
2014-06-10 21:37 ` Florian Westphal
2014-06-11 10:33 ` Egerváry Gergely
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).