Skip to content

Commit c4c4290

Browse files
Roman Mashakdavem330
authored andcommitted
net sched actions: rename act_get_notify() to tcf_get_notify()
Make name consistent with other TC event notification routines, such as tcf_add_notify() and tcf_del_notify() Signed-off-by: Roman Mashak <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ccd4eb4 commit c4c4290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/sched/act_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ static int tca_get_fill(struct sk_buff *skb, struct list_head *actions,
835835
}
836836

837837
static int
838-
act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
838+
tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n,
839839
struct list_head *actions, int event)
840840
{
841841
struct sk_buff *skb;
@@ -1018,7 +1018,7 @@ tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n,
10181018
}
10191019

10201020
if (event == RTM_GETACTION)
1021-
ret = act_get_notify(net, portid, n, &actions, event);
1021+
ret = tcf_get_notify(net, portid, n, &actions, event);
10221022
else { /* delete */
10231023
ret = tcf_del_notify(net, n, &actions, portid);
10241024
if (ret)

0 commit comments

Comments
 (0)