Skip to contentSkip to conversation

Patch "bonding: use ETH_MAX_MTU as max mtu" has been added to the 4.10-stable tree

PATCH [email protected] 1 participant 1 message Mar 18, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

bonding: use ETH_MAX_MTU as 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:
bonding-use-eth_max_mtu-as-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 Sat Mar 18 22:03:53 CST 2017

From: WANG Cong <[email protected]>
Date: Thu, 2 Mar 2017 12:24:36 -0800
Subject: bonding: use ETH_MAX_MTU as max mtu

From: WANG Cong <[email protected]>

[ Upstream commit 31c05415f5b471fd333fe42629788364faea8e0d ]

This restores the ability of setting bond device's mtu to 9000.

Fixes 91572088e3fd ("net: use core MTU range checking in core net infra")
Reported-by [email protected]
Cc Jarod Wilson <[email protected]>
---
 drivers/net/bonding/bond_main.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/bonding/bond_main.c +1 -0
@@ -4185,6 +4185,7 @@ void bond_setup(struct net_device *bond_
 
 	/* Initialize the device entry points */
 	ether_setup(bond_dev);
+	bond_dev->max_mtu = ETH_MAX_MTU;
 	bond_dev->netdev_ops = &bond_netdev_ops;
 	bond_dev->ethtool_ops = &bond_ethtool_ops;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.10/strparser-destroy-workqueue-on-module-exit.patch queue-4.10/net-sched-actions-decrement-module-reference-count-after-table-flush.patch queue-4.10/bonding-use-eth_max_mtu-as-max-mtu.patch queue-4.10/team-use-eth_max_mtu-as-max-mtu.patch queue-4.10/dccp-unlock-sock-before-calling-sk_free.patch queue-4.10/act_connmark-avoid-crashing-on-malformed-nlattrs-with-null-parms.patch