openvswitch MTU patch needed in 4.10 stable
Subsystems (3)
Could you queue the patch to stable?
Begin forwarded message:
Date: Tue, 09 May 2017 08:21:46 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 195695] New: openvswitch: Set internal device max mtu to ETH_MAX_MTU
https://bugzilla.kernel.org/show_bug.cgi?id=195695
Bug ID: 195695
Summary: openvswitch: Set internal device max mtu to
ETH_MAX_MTU
Product: Networking
Version: 2.5
Kernel Version: 4.10
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Can not use jumbo frames with openvswitch bridge in kernel 4.10. This is fixed in kernel 4.11:
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.
Diffstat (limited to 'net/openvswitch/vport-internal_dev.c') -rw-r--r--net/openvswitch/vport-internal_dev.c
2
1 files changed, 2 insertions, 0 deletions
(quoted diff) +0 -0
b/net/openvswitch/vport-internal_dev.c
index 09141a1..89193a6 100644
net/openvswitch/vport-internal_dev.c +2 -0
@@ -149,6 +149,8 @@ static void do_setup(struct net_device *netdev) {ether_setup (netdev); + netdev->max_mtu =ETH_MAX_MTU ; + netdev->netdev_ops = &internal_dev_netdev_ops; netdev->priv_flags &= ~IFF_TX_SKB_SHARING ;
Br.
Endre Vaade
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
David Miller
maintainerFrom: Stephen Hemminger <[email protected]>
Date: Tue, 9 May 2017 08:46:56 -0700
Quoted 1 line
Could you queue the patch to stable?
It speeds things along if you actually specify the SHA1 ID of the specific commit being requested for a -stable backport.
I did this work, but you could have taken a brief amount of time so that this would not have been necessary.
Thanks.