From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:37970 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbdCROFo (ORCPT ); Sat, 18 Mar 2017 10:05:44 -0400 Subject: Patch "bonding: use ETH_MAX_MTU as max mtu" has been added to the 4.10-stable tree To: xiyou.wangcong@gmail.com, davem@davemloft.net, gregkh@linuxfoundation.org, jarod@redhat.com, jay.vosburgh@canonical.com, lists2009@fnarfbargle.com Cc: , From: Date: Sat, 18 Mar 2017 22:05:16 +0800 Message-ID: <1489845916237157@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From foo@baz Sat Mar 18 22:03:53 CST 2017 From: WANG Cong Date: Thu, 2 Mar 2017 12:24:36 -0800 Subject: bonding: use ETH_MAX_MTU as max mtu From: WANG Cong [ 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: daznis@gmail.com Reported-by: Brad Campbell Cc: Jarod Wilson Signed-off-by: Cong Wang Signed-off-by: Jay Vosburgh Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/bonding/bond_main.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -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 xiyou.wangcong@gmail.com 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