OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd4eb4
)
net sched actions: rename act_get_notify() to tcf_get_notify()
author
Roman Mashak
<mrv@mojatatu.com>
Thu, 13 Jul 2017 17:12:18 +0000
(13:12 -0400)
committer
David S. Miller
<davem@davemloft.net>
Fri, 14 Jul 2017 15:52:33 +0000
(08:52 -0700)
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>
net/sched/act_api.c
patch
|
blob
|
history
diff --git
a/net/sched/act_api.c
b/net/sched/act_api.c
index
aed6cf2
..
f2e9ed3
100644
(file)
--- 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)