[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160716.201619.847436342805437808.davem@davemloft.net>
Date: Sat, 16 Jul 2016 20:16:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kaber@...sh.net, sd@...asysnail.net
Subject: Re: [PATCH net] vlan: use a valid default mtu value for vlan over
macsec
From: Paolo Abeni <pabeni@...hat.com>
Date: Thu, 14 Jul 2016 18:00:10 +0200
> macsec can't cope with mtu frames which need vlan tag insertion, and
> vlan device set the default mtu equal to the underlying dev's one.
> By default vlan over macsec devices use invalid mtu, dropping
> all the large packets.
> This patch adds a netif helper to check if an upper vlan device
> needs mtu reduction. The helper is used during vlan devices
> initialization to set a valid default and during mtu updating to
> forbid invalid, too bit, mtu values.
> The helper currently only check if the lower dev is a macsec device,
> if we get more users, we need to update only the helper (possibly
> reserving an additional IFF bit).
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists