net: sched: act: add extack for walk callback
This patch adds extack support for act walker 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
331a9295de
commit
417801055b
@@ -94,7 +94,8 @@ struct tc_action_ops {
|
||||
int bind, struct netlink_ext_ack *extack);
|
||||
int (*walk)(struct net *, struct sk_buff *,
|
||||
struct netlink_callback *, int,
|
||||
const struct tc_action_ops *);
|
||||
const struct tc_action_ops *,
|
||||
struct netlink_ext_ack *);
|
||||
void (*stats_update)(struct tc_action *, u64, u32, u64);
|
||||
struct net_device *(*get_dev)(const struct tc_action *a);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user