diff options
author | Marek Behún <kabel@kernel.org> | 2021-01-05 18:23:33 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-06 15:55:14 -0800 |
commit | 0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625 (patch) | |
tree | ba4096d204b5dba9c42b34408cd3b6a8b37ed423 /drivers/net/bareudp.c | |
parent | 3503ee6c0bec5f173d606359e6384a5ef85492fb (diff) | |
download | lwn-0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625.tar.gz lwn-0d136f5cd9a7ba6ded7f8ff17e8b1ba680f37625.zip |
net: mvneta: fix error message when MTU too large for XDP
The error message says that "Jumbo frames are not supported on XDP", but
the code checks for mtu > MVNETA_MAX_RX_BUF_SIZE, not mtu > 1500.
Fix this error message.
Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 0db51da7a8e9 ("net: mvneta: add basic XDP support")
Cc: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Link: https://lore.kernel.org/r/20210105172333.21613-1-kabel@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/bareudp.c')
0 files changed, 0 insertions, 0 deletions