diff options
author | Jonathan McDowell | 2020-10-30 18:33:15 +0000 |
---|---|---|
committer | Jakub Kicinski | 2020-11-02 15:14:59 -0800 |
commit | 99cab7107d914a71c57f5a4e6d34292425fbbb61 (patch) | |
tree | 9470ec8d6641eac446f6cb1eebcc9abde5360d9e /fs/nfsd | |
parent | b6df8c81412190fbd5eaa3cec7f642142d9c16cd (diff) |
net: dsa: qca8k: Fix port MTU setting
The qca8k only supports a switch-wide MTU setting, and the code to take
the max of all ports was only looking at the port currently being set.
Fix to examine all ports.
Reported-by: DENG Qingfang <dqfext@gmail.com>
Fixes: f58d2598cf70 ("net: dsa: qca8k: implement the port MTU callbacks")
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201030183315.GA6736@earth.li
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions