From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751328AbdCIGUD (ORCPT ); Thu, 9 Mar 2017 01:20:03 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:59966 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbdCIGUC (ORCPT ); Thu, 9 Mar 2017 01:20:02 -0500 Date: Wed, 08 Mar 2017 22:20:00 -0800 (PST) Message-Id: <20170308.222000.2114880882228056038.davem@davemloft.net> To: jarod@redhat.com Cc: linux-kernel@vger.kernel.org, xiyou.wangcong@gmail.com, jiri@resnulli.us, netdev@vger.kernel.org Subject: Re: [PATCH net] team: use ETH_MAX_MTU as max mtu From: David Miller In-Reply-To: <20170306134858.2096-1-jarod@redhat.com> References: <20170306134858.2096-1-jarod@redhat.com> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 08 Mar 2017 22:20:01 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jarod Wilson Date: Mon, 6 Mar 2017 08:48:58 -0500 > This restores the ability to set a team device's mtu to anything higher > than 1500. Similar to the reported issue with bonding, the team driver > calls ether_setup(), which sets an initial max_mtu of 1500, while the > underlying hardware can handle something much larger. Just set it to > ETH_MAX_MTU to support all possible values, and the limitations of the > underlying devices will prevent setting anything too large. > > Fixes: 91572088e3fd ("net: use core MTU range checking in core net infra") > CC: Cong Wang > CC: Jiri Pirko > CC: netdev@vger.kernel.org > Signed-off-by: Jarod Wilson Applied and queued up for -stable, thanks.