From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarod Wilson Subject: Re: [PATCH] net: ethernet: aquantia: set net_device mtu when mtu is changed Date: Wed, 15 Mar 2017 17:31:10 -0400 Message-ID: <94b6e885-43a5-c01c-0fa6-4b3add46004b@redhat.com> References: <1489446436-42246-1-git-send-email-darcari@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Pavel Belous To: David Arcari , netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:42916 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbdCOVbT (ORCPT ); Wed, 15 Mar 2017 17:31:19 -0400 In-Reply-To: <1489446436-42246-1-git-send-email-darcari@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On 2017-03-13 7:07 PM, David Arcari wrote: > When the aquantia device mtu is changed the net_device structure is not > updated. As a result the ip command does not properly reflect the mtu change. > > Commit 5513e16421cb incorrectly assumed that __dev_set_mtu() was making the > assignment ndev->mtu = new_mtu; This is not true in the case where the driver > has a ndo_change_mtu routine. > > Fixes: 5513e16421cb ("net: ethernet: aquantia: Fixes for aq_ndev_change_mtu") > > Cc: Pavel Belous > Signed-off-by: David Arcari Would help if I replied to the proper version of the patch. To reiterate, patch looks appropriate and necessary. Reviewed-by: Jarod Wilson -- Jarod Wilson jarod@redhat.com