commit | 230bd958c2c846ee292aa38bc6b006296c24ca01 | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@redhat.com> | Sun Jul 28 02:46:45 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 29 10:59:46 2019 -0700 |
tree | e5c9208b7f00877f8bc34b06047aab5afeea9da3 | |
parent | 011f175428d46461f94a65dacb9a416529d08dda [diff] |
mvpp2: refactor MTU change code The MTU change code can call napi_disable() with the device already down, leading to a deadlock. Also, lot of code is duplicated unnecessarily. Rework mvpp2_change_mtu() to avoid the deadlock and remove duplicated code. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Signed-off-by: Matteo Croce <mcroce@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>