projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[platform/kernel/linux-rpi.git]
/
include
/
net
/
tc_act
/
tc_gact.h
diff --git
a/include/net/tc_act/tc_gact.h
b/include/net/tc_act/tc_gact.h
index
e82d933
..
ef8dd0d
100644
(file)
--- a/
include/net/tc_act/tc_gact.h
+++ b/
include/net/tc_act/tc_gact.h
@@
-34,6
+34,11
@@
static inline bool __is_tcf_gact_act(const struct tc_action *a, int act,
return false;
}
+static inline bool is_tcf_gact_ok(const struct tc_action *a)
+{
+ return __is_tcf_gact_act(a, TC_ACT_OK, false);
+}
+
static inline bool is_tcf_gact_shot(const struct tc_action *a)
{
return __is_tcf_gact_act(a, TC_ACT_SHOT, false);