diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index ab98c1c8b6f32dd7c5dd28478a4d26763768a7e5..3e98fb5575981cce5b14ff7e738295c3b094ce91 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -2248,7 +2248,7 @@ static int do_setlink(const struct sk_buff *skb, errout: if (status & DO_SETLINK_MODIFIED) { - if (status & DO_SETLINK_NOTIFY) + if ((status & DO_SETLINK_NOTIFY) == DO_SETLINK_NOTIFY) netdev_state_change(dev); if (err < 0)