Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 21:23:12 +0000 (13:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 21:23:12 +0000 (13:23 -0800)
1  2 
include/linux/netfilter/nf_conntrack_tcp.h
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/nf_nat_helper.c
net/ipv6/netfilter/ip6_queue.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nfnetlink_log.c

@@@ -497,10 -497,9 +497,9 @@@ ipq_rcv_nl_event(struct notifier_block 
  {
        struct netlink_notify *n = ptr;
  
-       if (event == NETLINK_URELEASE &&
-           n->protocol == NETLINK_FIREWALL && n->pid) {
+       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);
        }
Simple merge
@@@ -499,10 -499,9 +499,9 @@@ ipq_rcv_nl_event(struct notifier_block 
  {
        struct netlink_notify *n = ptr;
  
-       if (event == NETLINK_URELEASE &&
-           n->protocol == NETLINK_IP6_FW && n->pid) {
+       if (event == NETLINK_URELEASE && n->protocol == NETLINK_IP6_FW) {
                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);
        }
Simple merge
Simple merge