]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/netfilter/ip_queue.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
[karo-tx-linux.git] / net / ipv4 / netfilter / ip_queue.c
index 9f078709195100e9bc94f48021f71e32b9a3af9a..49ad44712f46fbb49bf2903938ffa3ddbe302cfd 100644 (file)
@@ -499,7 +499,7 @@ ipq_rcv_nl_event(struct notifier_block *this,
 
        if (event == NETLINK_URELEASE && n->protocol == NETLINK_FIREWALL) {
                write_lock_bh(&queue_lock);
-               if ((n->net == &init_net) && (n->pid == peer_pid))
+               if ((net_eq(n->net, &init_net)) && (n->pid == peer_pid))
                        __ipq_reset();
                write_unlock_bh(&queue_lock);
        }