summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRoman Mashak <mrv@mojatatu.com>2017-07-13 13:12:18 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-14 08:52:33 -0700
commitc4c4290c17bd099b7654d683f8ab6233b4f4a364 (patch)
tree5d01c52d2dd18e2c81fe3b6b78a6fb01da895bf2 /net
parentccd4eb49f3392ebf989d58bd013a7bf44cdca4d6 (diff)
downloadop-kernel-dev-c4c4290c17bd099b7654d683f8ab6233b4f4a364.zip
op-kernel-dev-c4c4290c17bd099b7654d683f8ab6233b4f4a364.tar.gz
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>
Diffstat (limited to 'net')
-rw-r--r--net/sched/act_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index aed6cf2..f2e9ed3 100644
--- a/net/sched/act_api.c
+++ b/net/sched/act_api.c
@@ -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)
OpenPOWER on IntegriCloud