diff options
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 60c928894a78..63ce2283a456 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -2810,7 +2810,7 @@ int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm) | |||
2810 | } | 2810 | } |
2811 | 2811 | ||
2812 | if (dev->rtnl_link_state == RTNL_LINK_INITIALIZED) { | 2812 | if (dev->rtnl_link_state == RTNL_LINK_INITIALIZED) { |
2813 | __dev_notify_flags(dev, old_flags, 0U); | 2813 | __dev_notify_flags(dev, old_flags, (old_flags ^ dev->flags)); |
2814 | } else { | 2814 | } else { |
2815 | dev->rtnl_link_state = RTNL_LINK_INITIALIZED; | 2815 | dev->rtnl_link_state = RTNL_LINK_INITIALIZED; |
2816 | __dev_notify_flags(dev, old_flags, ~0U); | 2816 | __dev_notify_flags(dev, old_flags, ~0U); |