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)
commit31c05415f5b471fd333fe42629788364faea8e0d
tree049c1d963fba8573472b646ce9ce65dcc8fb6ec4
parent152669bd3cd2407d6f556009b95ee249c0c1a462
bonding: use ETH_MAX_MTU as max mtu

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 <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