summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2019-07-28 02:46:45 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-29 10:59:46 -0700
commit230bd958c2c846ee292aa38bc6b006296c24ca01 (patch)
treee5c9208b7f00877f8bc34b06047aab5afeea9da3 /net
parent011f175428d46461f94a65dacb9a416529d08dda (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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions