Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[platform/kernel/linux-rpi.git] / include / net / tc_act / tc_gact.h
index e82d933..ef8dd0d 100644 (file)
@@ -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);