Commit c4c4290c authored by Roman Mashak's avatar Roman Mashak Committed by David S. Miller
Browse files

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: default avatarRoman Mashak <mrv@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ccd4eb49
...@@ -835,7 +835,7 @@ static int tca_get_fill(struct sk_buff *skb, struct list_head *actions, ...@@ -835,7 +835,7 @@ static int tca_get_fill(struct sk_buff *skb, struct list_head *actions,
} }
static int 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 list_head *actions, int event)
{ {
struct sk_buff *skb; struct sk_buff *skb;
...@@ -1018,7 +1018,7 @@ tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, ...@@ -1018,7 +1018,7 @@ tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n,
} }
if (event == RTM_GETACTION) if (event == RTM_GETACTION)
ret = act_get_notify(net, portid, n, &actions, event); ret = tcf_get_notify(net, portid, n, &actions, event);
else { /* delete */ else { /* delete */
ret = tcf_del_notify(net, n, &actions, portid); ret = tcf_del_notify(net, n, &actions, portid);
if (ret) if (ret)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment