diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-11-25 14:07:38 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-11-25 19:40:39 -0800 |
commit | d154cd078ac2d24374e872f3224bf44894867b0a (patch) | |
tree | a043b4d29f7a95a24f8a0f54087b9650b9f5d356 /drivers/net/pcs | |
parent | 7bd9890f3d74e96f0e1a898f68decfc711de3001 (diff) | |
download | linux-d154cd078ac2d24374e872f3224bf44894867b0a.tar.gz linux-d154cd078ac2d24374e872f3224bf44894867b0a.tar.bz2 linux-d154cd078ac2d24374e872f3224bf44894867b0a.zip |
mctp: serial: enforce fixed MTU
The current serial driver requires a maximum MTU of 68, and it doesn't
make sense to set a MTU below the MCTP-required baseline (of 68) either.
This change sets the min_mtu & max_mtu of the mctp netdev, essentially
disallowing changes. By using these instead of a ndo_change_mtu op, we
get the netlink extacks reported too.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/pcs')
0 files changed, 0 insertions, 0 deletions