public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Possible IPv6 fragmentation/pmtud bug
@ 2013-12-05 19:39 Templin, Fred L
  2013-12-05 20:13 ` Templin, Fred L
  0 siblings, 1 reply; 6+ messages in thread
From: Templin, Fred L @ 2013-12-05 19:39 UTC (permalink / raw)
  To: netdev@vger.kernel.org

Hi,

I have the following test network configuration (all linux nodes
running the 3.10.17 kernel):


h1 <-----------> r1 <-----------> r2 <-----------> h2
   8000 MTU link    4000 MTU link    8000 MTU link

When host h1 ping6's host h2, routers r1 and r2 forward the ICMPv6
echo request/reply packets as expected. But, when I set a ping6
packet size that is larger than the router-to-router link MTU:

  h1# ping6 -s 5000 h2

router r1 does NOT send an ICMPv6 Packet Too Big message back
to host h1 but rather fragments the ICMPv6 echo request packets
itself before forwarding on to router r2 then ultimately host h1.
The ping6's still succeed because of IPv6 fragmentation, but it
is *router r1* that is doing the fragmentation instead of host h1.

This seems to be related to the setting of the "skb->local_df" flag,
which should only be set for locally-generated packets; not for
packets that are being forwarded by a router. Does anyone have any
idea as to why my router is performing fragmentation when it forwards
an ICMPv6 packet?

Thanks - Fred
fred.l.templin@boeing.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-06  4:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 19:39 Possible IPv6 fragmentation/pmtud bug Templin, Fred L
2013-12-05 20:13 ` Templin, Fred L
2013-12-05 20:18   ` Hannes Frederic Sowa
2013-12-05 22:29     ` [PATCH] net: clear local_df when passing skb between namespaces Hannes Frederic Sowa
2013-12-05 22:52       ` Templin, Fred L
2013-12-06  4:43       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox