net: sched: act: add extack for lookup callback
This patch adds extack support for act lookup callback api. This prepares to handle extack support inside each specific act implementation. Cc: David Ahern <dsahern@gmail.com> Signed-off-by: Alexander Aring <aring@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
589dad6d71
commit
331a9295de
@@ -901,7 +901,7 @@ static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla,
|
||||
goto err_out;
|
||||
}
|
||||
err = -ENOENT;
|
||||
if (ops->lookup(net, &a, index) == 0)
|
||||
if (ops->lookup(net, &a, index, extack) == 0)
|
||||
goto err_mod;
|
||||
|
||||
module_put(ops->owner);
|
||||
|
Reference in New Issue
Block a user