diff options
author | caihuoqing <cai.huoqing@linux.dev> | 2022-10-24 13:33:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-26 05:42:34 +0300 |
commit | 022f19cf361bdbc72b51e684573c847c4f37478d (patch) | |
tree | 0b4ff5b4737084b1b5ec064cf76e2e647fcd2430 /Documentation/memory-barriers.txt | |
parent | a264228c8bfa1908bdd756bfb27227b51ddf4cbb (diff) | |
download | linux-022f19cf361bdbc72b51e684573c847c4f37478d.tar.xz |
net: hinic: Set max_mtu/min_mtu directly to simplify the code.
Set max_mtu/min_mtu directly to avoid making the validity judgment
when set mtu, because the judgment is made in net/core: dev_validate_mtu,
so to simplify the code.
Signed-off-by: caihuoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20221024103349.4494-1-cai.huoqing@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions