[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080730141017.0000aceb@extreme>
Date: Wed, 30 Jul 2008 14:10:17 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
simon.wunderlich@...03.tu-chemnitz.de, siwu@....tu-chemnitz.de
Subject: Re: [PATCH] bridge: send correct MTU value in PMTU (revised)
On Wed, 30 Jul 2008 13:50:08 -0700
Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Wed, 30 Jul 2008 13:32:59 -0700
> Stephen Hemminger <shemminger@...ux-foundation.org> wrote:
>
> > When bridging interfaces with different MTUs, the bridge correctly chooses
> > the minimum of the MTUs of the physical devices as the bridges MTU. But
> > when a frame is passed which fits through the incoming, but not through
> > the outgoing interface, a "Fragmentation Needed" packet is generated.
> >
> > However, the propagated MTU is hardcoded to 1500, which is wrong in this
> > situation. The sender will repeat the packet again with the same frame
> > size, and the same problem will occur again.
> >
> > Instead of sending 1500, the (correct) MTU value of the bridge is now sent
> > via PMTU. To achieve this, the corresponding rtable structure is stored
> > in its net_bridge structure.
> >
> > Modified to get rid of fake_net_device as well.
> >
> > Signed-off-by: Simon Wunderlich <siwu@....tu-chemnitz.de>
> > Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org>
>
> um.
>
> a) Why was this To:me and not To:davem? I'm trying to get rid of it ;)
>
> b) The way you sent this email indicates that you wrote the patch.
> To preserve correct attribution, please put a From: line right at the
> top of the changelog.
>
> c) For the record, here are the changes which you (I assume) made to
> Simon's patch:
>
> (br_netfilter_rtable_init() no longer initialises
> fake_rtable.rt_flags. Deliberate?)
>
a) didn't want you holding onto old version, and it leaking upstream.
b) didn't know how to spoof git's attribution
c) fake_rtable gets initialized to zero already.
Since it is part of bridge structure and the whole bridge structure
is the private part of the bridge pseudo network device which
is initialized to zero as part of alloc_netdev.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists