diff options
author | Zhang Shengju <[email protected]> | 2017-09-22 23:57:49 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-09-25 16:26:09 -0700 |
commit | e94cd8113ce63bca34040aae52d0603baf6ec07c (patch) | |
tree | 983dee3efd8758ef006e6d60fdc654d17d1bc7f8 /net/unix/sysctl_net_unix.c | |
parent | 1b17ca044a82342fb96529e1bdff6da7af90bc53 (diff) |
net: remove MTU limits for dummy and ifb device
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 <[email protected]>
CC: Sabrina Dubroca <[email protected]>
Signed-off-by: Zhang Shengju <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions