summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJason Xing <kernelxing@tencent.com>2023-02-08 10:43:33 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-22 12:47:20 +0100
commit23bd18cc390913128e416bb9c8b3e5d5511da4aa (patch)
tree58875b5e629c44cba41c5d887872feaf56c6cd44 /drivers/net/xen-netback/interface.c
parent2ab96a0ee1e32757d067f7e8b6b66ca217e02bd8 (diff)
i40e: add double of VLAN header when computing the max MTU
commit ce45ffb815e8e238f05de1630be3969b6bb15e4e upstream. Include the second VLAN HLEN into account when computing the maximum MTU size as other drivers do. Fixes: 0c8493d90b6b ("i40e: add XDP support for pass and drop actions") 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 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions