[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170925.162619.1038803923818046972.davem@davemloft.net>
Date: Mon, 25 Sep 2017 16:26:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhangshengju@...s.chinamobile.com
Cc: sd@...asysnail.net, edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: [net-next] net: remove MTU limits for dummy and ifb device
From: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Date: Fri, 22 Sep 2017 23:57:49 +0800
> These two drivers (dummy and ifb) call ether_setup(), after commit
> 61e84623ace3 ("net: centralize net_device min/max MTU checking"), the
> range of mtu is [min_mtu, max_mtu], which is [68, 1500] by default.
>
> These two devices should not have limits on MTU. This patch set their
> min_mtu/max_mtu to 0. So that dev_set_mtu() will not check the mtu range,
> and can be set with any value.
>
> CC: Eric Dumazet <edumazet@...gle.com>
> CC: Sabrina Dubroca <sd@...asysnail.net>
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
Applied.
Powered by blists - more mailing lists