On Mon, Feb 21, 2022 at 9:47 PM David Gwynne <da...@gwynne.id.au> wrote:

> this lets ifconfig show the MTU on interfaces like nvgre, vxlan, etc.
> they currently don't show it because they also implement a bridge ioctl,
> so ifconfig thinks they're a bridge.
>
> why ifconfig hides the mtu on bridges looks to be a hold over from when
> brconfig was merged into ifconfig. if we dont want bridge(4) to report
> an mtu, then i can make bridge(4) itself hide the mtu or stop setting
> the mtu.
>
> found by jason tubnor.
>
> ok?


 Ah, this test explains one of the three times ioctl(SIOCBRDGRTS) is used
on each interface.  This will drop it to twice per interface ;)

ok guenther@

Reply via email to