]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f55bb5b14b7fb735398b8e1416b0707df661722
tree8fcf182cfe4787bedbdf8142cfde3ecec6502619
parent193db63234feba0758a94ebceed8461ccdc2ae1b
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