summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2021-01-13 11:41:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-23 15:49:56 +0100
commit594711af9f26827dea6195774b9c4ff43d86dabe (patch)
treeca5f531ab2b0ed28d2ffa68c9bf4f9d4b82cd2cd /include/linux
parent6b676c4bd0e3ef7df8427d73f45c0d680c5c5afe (diff)
net: stmmac: Fixed mtu channged by cache aligned
[ Upstream commit 5b55299eed78538cc4746e50ee97103a1643249c ] Since the original mtu is not used when the mtu is updated, the mtu is aligned with cache, this will get an incorrect. For example, if you want to configure the mtu to be 1500, but mtu 1536 is configured in fact. Fixed: eaf4fac478077 ("net: stmmac: Do not accept invalid MTU values") Signed-off-by: David Wu <david.wu@rock-chips.com> Link: https://lore.kernel.org/r/20210113034109.27865-1-david.wu@rock-chips.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions