Skip to content

Commit

Permalink
net sched actions: rename act_get_notify() to tcf_get_notify()
Browse files Browse the repository at this point in the history
Make name consistent with other TC event notification routines, such as
tcf_add_notify() and tcf_del_notify()

Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Roman Mashak authored and David S. Miller committed Jul 14, 2017
1 parent ccd4eb4 commit c4c4290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sched/act_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ static int tca_get_fill(struct sk_buff *skb, struct list_head *actions,
}

static int
act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
struct list_head *actions, int event)
{
struct sk_buff *skb;
Expand Down Expand Up @@ -1018,7 +1018,7 @@ tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n,
}

if (event == RTM_GETACTION)
ret = act_get_notify(net, portid, n, &actions, event);
ret = tcf_get_notify(net, portid, n, &actions, event);
else { /* delete */
ret = tcf_del_notify(net, n, &actions, portid);
if (ret)
Expand Down

0 comments on commit c4c4290

Please sign in to comment.