]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: use ETH_MAX_MTU as max mtu
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 2 Mar 2017 20:24:36 +0000 (12:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Mar 2017 22:43:20 +0000 (14:43 -0800)
commit19742bf9a71de6bb743640712045e0b94a663c85
tree049c1d963fba8573472b646ce9ce65dcc8fb6ec4
parentb4f60a530cd1c3c0d42734cb7f83a9da15be95d1
bonding: use ETH_MAX_MTU as max mtu

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

Fixes: 1376e65bcf3a ("net: use core MTU range checking in core net infra")
Reported-by: daznis@gmail.com
Reported-by: Brad Campbell <lists2009@fnarfbargle.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c