[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJieiUhEGkxZ0a5kstobgNpP31xKrT+yLLBm4L1QrB1iHQgWJA@mail.gmail.com>
Date: Thu, 12 Mar 2015 16:18:19 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Venkat Venkatsubra <venkat.x.venkatsubra@...cle.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: MTU of bridge after deleting an interface
On Thu, Mar 12, 2015 at 3:37 PM, Venkat Venkatsubra
<venkat.x.venkatsubra@...cle.com> wrote:
> Hello All,
>
> When adding an interface the bridge interface's MTU is set to the
> minimum of all the interfaces. Call to dev_set_mtu(br->dev, br_min_mtu(br))
> in br_add_if() achieves that. But when deleting an interface from the bridge
> the MTU is not reset again to the minimum of the current set of interfaces.
> Is there a reason it is that way ?
>
> If not I could send a patch that resets the MTU with a call to
> dev_set_mtu(br->dev, br_min_mtu(br)) in br_del_if().
>
seems like the right thing to do. you should submit a patch.
--
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