[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170316.202146.864329903188612962.davem@davemloft.net>
Date: Thu, 16 Mar 2017 20:21:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: darcari@...hat.com
Cc: netdev@...r.kernel.org, Pavel.Belous@...antia.com
Subject: Re: [PATCH] net: ethernet: aquantia: set net_device mtu when mtu
is changed
From: David Arcari <darcari@...hat.com>
Date: Mon, 13 Mar 2017 19:07:16 -0400
> 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 <Pavel.Belous@...antia.com>
> Signed-off-by: David Arcari <darcari@...hat.com>
Applied.
Powered by blists - more mailing lists