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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Sat Mar 18 22:03:53 CST 2017
From: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Date: Thu, 2 Mar 2017 12:24:36 -0800
Subject: bonding: use ETH_MAX_MTU as max mtu

From: WANG Cong <xiyou.wangcong@xxxxxxxxx>


[ 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@xxxxxxxxx
Reported-by: Brad Campbell <lists2009@xxxxxxxxxxxxxxx>
Cc: Jarod Wilson <jarod@xxxxxxxxxx>
Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Signed-off-by: Jay Vosburgh <jay.vosburgh@xxxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 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@xxxxxxxxx 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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]