net: dsa: Restore MTU on master device on unload
authorAndrew Lunn <andrew@lunn.ch>
Sat, 8 Dec 2018 16:05:18 +0000 (17:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2018 05:39:07 +0000 (21:39 -0800)
commit91ba479573792e1f375e6c2b587c6eab882baa20
tree8fcf182cfe4787bedbdf8142cfde3ecec6502619
parent120d633f199b264e0ad4c98eedc0564a89171c1d
net: dsa: Restore MTU on master device on unload

A previous change tries to set the MTU on the master device to take
into account the DSA overheads. This patch tries to reset the master
device back to the default MTU.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/master.c