Thread (2 messages) flat view 2 messages, 2 authors, 2017-09-25

Re: [net-next] net: remove MTU limits for dummy and ifb device

From: David Miller <davem@davemloft.net>
Date: 2017-09-25 23:26:20

From: Zhang Shengju <redacted>
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@google.com>
CC: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Zhang Shengju <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help