mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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 <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ccd4eb49f3
commit
c4c4290c17
@ -835,7 +835,7 @@ out_nlmsg_trim:
|
||||
}
|
||||
|
||||
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;
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user