net: sched: don't take rtnl lock during flow_action setup
[linux-block.git] / net / sched / cls_matchall.c
index 610a0b728161a32385465aff9e35903c302341a7..a34b36adb9b71b1e8b01e11abcdc8c52dc9749b5 100644 (file)
@@ -97,7 +97,7 @@ static int mall_replace_hw_filter(struct tcf_proto *tp,
        cls_mall.command = TC_CLSMATCHALL_REPLACE;
        cls_mall.cookie = cookie;
 
-       err = tc_setup_flow_action(&cls_mall.rule->action, &head->exts, true);
+       err = tc_setup_flow_action(&cls_mall.rule->action, &head->exts);
        if (err) {
                kfree(cls_mall.rule);
                mall_destroy_hw_filter(tp, head, cookie, NULL);
@@ -302,7 +302,7 @@ static int mall_reoffload(struct tcf_proto *tp, bool add, flow_setup_cb_t *cb,
                TC_CLSMATCHALL_REPLACE : TC_CLSMATCHALL_DESTROY;
        cls_mall.cookie = (unsigned long)head;
 
-       err = tc_setup_flow_action(&cls_mall.rule->action, &head->exts, true);
+       err = tc_setup_flow_action(&cls_mall.rule->action, &head->exts);
        if (err) {
                kfree(cls_mall.rule);
                if (add && tc_skip_sw(head->flags)) {