macvlan: Propagate lowerdev MTU changes
authordingtianhong <dingtianhong@huawei.com>
Tue, 13 May 2014 06:39:27 +0000 (14:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:35:03 +0000 (15:35 -0400)
commit3763e7ef17143f5e9ae044638e65d2b0c0305fcf
tree2db78cfb6855a1bc040fb55915a13fbe47b53ef4
parent8ba7e7bfc39e05b57ed90a70db2b411b1204377b
macvlan: Propagate lowerdev MTU changes

When the physical MTU changes we should ensure that all existing MACVLAN
dev MTU do not exceed the new lowerdev MTU. This patch adds that
propagation.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c