Patch "openvswitch: Set internal device max mtu to ETH_MAX_MTU." has been added to the 4.10-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
openvswitch: Set internal device max mtu to ETH_MAX_MTU.
to the 4.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
openvswitch-set-internal-device-max-mtu-to-eth_max_mtu.patch
and it can be found in the queue-4.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu May 11 10:37:58 CEST 2017
From: Jarno Rajahalme <[email protected]>
Date: Tue, 14 Feb 2017 21:16:28 -0800
Subject: openvswitch: Set internal device max mtu to ETH_MAX_MTU.
From: Jarno Rajahalme <[email protected]>
[ Upstream commit 425df17ce3a26d98f76e2b6b0af2acf4aeb0b026 ]
Commit 91572088e3fd ("net: use core MTU range checking in core net infra") changed the openvswitch internal device to use the core net infra for controlling the MTU range, but failed to actually set the max_mtu as described in the commit message, which now defaults to ETH_DATA_LEN.
This patch fixes this by setting max_mtu to ETH_MAX_MTU after ether_setup() call.
--- net/openvswitch/vport-internal_dev.c | 2 ++ 1 file changed, 2 insertions(+)
net/openvswitch/vport-internal_dev.c +2 -0
@@ -151,6 +151,8 @@ static void do_setup(struct net_device * {ether_setup (netdev); + netdev->max_mtu =ETH_MAX_MTU ; + netdev->netdev_ops = &internal_dev_netdev_ops; netdev->priv_flags &= ~IFF_TX_SKB_SHARING ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.10/openvswitch-set-internal-device-max-mtu-to-eth_max_mtu.patch