diff options
author | David Arcari <darcari@redhat.com> | 2017-03-14 00:07:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-17 04:21:20 +0100 |
commit | bc9ab9231ec8c08352ea860480523d88a221a68f (patch) | |
tree | ceb4835b4a037c43a582d8aa5fdcc65aac644cb9 /net/mpls/mpls_iptunnel.c | |
parent | net/mlx4_core: Avoid delays during VF driver device shutdown (diff) | |
download | linux-bc9ab9231ec8c08352ea860480523d88a221a68f.tar.xz linux-bc9ab9231ec8c08352ea860480523d88a221a68f.zip |
net: ethernet: aquantia: set net_device mtu when mtu is changed
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@aquantia.com>
Signed-off-by: David Arcari <darcari@redhat.com>
Tested-by: Pavel Belous <pavel.belous@aquantia.com>
Reviewed-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/mpls_iptunnel.c')
0 files changed, 0 insertions, 0 deletions