]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - net/sched/act_pedit.c
Merge tag 'mac80211-next-for-davem-2018-03-29' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-eoan-kernel.git] / net / sched / act_pedit.c
index 5e8cc8f63acd3a64da9d38548bd8ea882e5ccacb..8a925c72db5fe413eaf4db3ac231f26484b049cb 100644 (file)
@@ -176,7 +176,7 @@ static int tcf_pedit_init(struct net *net, struct nlattr *nla,
                p = to_pedit(*a);
                keys = kmalloc(ksize, GFP_KERNEL);
                if (keys == NULL) {
-                       tcf_idr_cleanup(*a, est);
+                       tcf_idr_release(*a, bind);
                        kfree(keys_ex);
                        return -ENOMEM;
                }
@@ -465,7 +465,6 @@ static struct pernet_operations pedit_net_ops = {
        .exit_batch = pedit_exit_net,
        .id   = &pedit_net_id,
        .size = sizeof(struct tc_action_net),
-       .async = true,
 };
 
 MODULE_AUTHOR("Jamal Hadi Salim(2002-4)");