diff --git a/net/core/dev.c b/net/core/dev.c index 0aea3fee7f6d7758e822f00453303f67cec6b06b..307142a702d5df5c491d6a6c75d05775e284d6c7 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4971,7 +4971,7 @@ int dev_set_mtu(struct net_device *dev, int new_mtu) else dev->mtu = new_mtu; - if (!err && dev->flags & IFF_UP) + if (!err) call_netdevice_notifiers(NETDEV_CHANGEMTU, dev); return err; }