]> Pileus Git - ~andy/linux/blobdiff - net/netfilter/nf_conntrack_netlink.c
ip6_tunnel: add optional fwmark inherit
[~andy/linux] / net / netfilter / nf_conntrack_netlink.c
index 482e90c6185087f2827b9f27448c74ac87eb0ef6..e58aa9b1fe8a043226c4bc7ee90f5145a7adc316 100644 (file)
@@ -970,7 +970,7 @@ ctnetlink_get_conntrack(struct sock *ctnl, struct sk_buff *skb,
 
        if (nlh->nlmsg_flags & NLM_F_DUMP)
                return netlink_dump_start(ctnl, skb, nlh, ctnetlink_dump_table,
-                                         ctnetlink_done);
+                                         ctnetlink_done, 0);
 
        err = ctnetlink_parse_zone(cda[CTA_ZONE], &zone);
        if (err < 0)
@@ -1125,7 +1125,7 @@ ctnetlink_change_helper(struct nf_conn *ct, const struct nlattr * const cda[])
                if (help && help->helper) {
                        /* we had a helper before ... */
                        nf_ct_remove_expectations(ct);
-                       rcu_assign_pointer(help->helper, NULL);
+                       RCU_INIT_POINTER(help->helper, NULL);
                }
 
                return 0;
@@ -1163,7 +1163,7 @@ ctnetlink_change_helper(struct nf_conn *ct, const struct nlattr * const cda[])
                return -EOPNOTSUPP;
        }
 
-       rcu_assign_pointer(help->helper, helper);
+       RCU_INIT_POINTER(help->helper, helper);
 
        return 0;
 }
@@ -1386,7 +1386,7 @@ ctnetlink_create_conntrack(struct net *net, u16 zone,
                        }
 
                        /* not in hash table yet so not strictly necessary */
-                       rcu_assign_pointer(help->helper, helper);
+                       RCU_INIT_POINTER(help->helper, helper);
                }
        } else {
                /* try an implicit helper assignation */
@@ -1840,7 +1840,7 @@ ctnetlink_get_expect(struct sock *ctnl, struct sk_buff *skb,
        if (nlh->nlmsg_flags & NLM_F_DUMP) {
                return netlink_dump_start(ctnl, skb, nlh,
                                          ctnetlink_exp_dump_table,
-                                         ctnetlink_exp_done);
+                                         ctnetlink_exp_done, 0);
        }
 
        err = ctnetlink_parse_zone(cda[CTA_EXPECT_ZONE], &zone);