From: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net
Subject: MTU of bridge after deleting an interface
Date: Thu, 12 Mar 2015 15:37:31 -0700 (PDT) [thread overview]
Message-ID: <ebf95dd7-9166-43d5-9919-22f2cd654ef6@default> (raw)
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().
Looking forward to your response.
Thanks.
Venkat
next reply other threads:[~2015-03-12 22:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 22:37 Venkat Venkatsubra [this message]
2015-03-12 23:18 ` MTU of bridge after deleting an interface Roopa Prabhu
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=ebf95dd7-9166-43d5-9919-22f2cd654ef6@default \
--to=venkat.x.venkatsubra@oracle.com \
--cc=davem@davemloft.net \
--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