On 2017-03-08 4:33 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 <[email protected]> Signed-off-by: David Arcari <[email protected]>
Looks like an appropriate and necessary fix to me. Reviewed-by: Jarod Wilson <[email protected]> -- Jarod Wilson [email protected]
