]> 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)
commitb661ed994b7e90e971436e81035e6a152918bfc8
tree8fcf182cfe4787bedbdf8142cfde3ecec6502619
parentaf0fd19c7491abc351c85733a516b2e0e01719f7
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