]> err.no Git - linux-2.6/blobdiff - net/sctp/protocol.c
mac80211: Use queue_lock() in ieee80211_ht_agg_queue_remove().
[linux-2.6] / net / sctp / protocol.c
index ed9acffe81051bfe6e643bd36b5c4376555b541b..a6e0818bcff54fda7b074386130af1c059ab9499 100644 (file)
@@ -668,7 +668,7 @@ static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev,
        struct sctp_sockaddr_entry *temp;
        int found = 0;
 
-       if (dev_net(ifa->ifa_dev->dev) != &init_net)
+       if (!net_eq(dev_net(ifa->ifa_dev->dev), &init_net))
                return NOTIFY_DONE;
 
        switch (ev) {