diff options
author | Jason Xing <kernelxing@tencent.com> | 2023-02-09 05:41:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-22 14:59:54 +0300 |
commit | b6eabfb05c3df126e01dd546bf485166cec4710a (patch) | |
tree | b2cfde4ab03a9bd96551451e4f878bf88c469271 /net/ipv6 | |
parent | 55c96c5e8e08c0c89fa9930ac57c52b6457d2fe8 (diff) | |
download | linux-b6eabfb05c3df126e01dd546bf485166cec4710a.tar.xz |
ixgbe: add double of VLAN header when computing the max MTU
commit 0967bf837784a11c65d66060623a74e65211af0b upstream.
Include the second VLAN HLEN into account when computing the maximum
MTU size as other drivers do.
Fixes: fabf1bce103a ("ixgbe: Prevent unsupported configurations with XDP")
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions