[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170312.230919.811312629901809185.davem@davemloft.net>
Date: Sun, 12 Mar 2017 23:09:19 -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: Wed, 8 Mar 2017 16:33:21 -0500
> 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, thanks.
Powered by blists - more mailing lists