commit | e4dd5608033efe7b6030cde359bfdbaeb73bc22d | [log] [tgz] |
---|---|---|
author | Alexander Sverdlin <alexander.sverdlin@nokia.com> | Fri Nov 08 10:00:44 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 08 11:18:40 2019 -0800 |
tree | c02b96a9ae264744f771fe8de29b663021fcf690 | |
parent | e0a312629fefa943534fc46f7bfbe6de3fdaf463 [diff] |
net: ethernet: octeon_mgmt: Account for second possible VLAN header Octeon's input ring-buffer entry has 14 bits-wide size field, so to account for second possible VLAN header max_mtu must be further reduced. Fixes: 109cc16526c6d ("ethernet/cavium: use core min/max MTU checking") Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>