net_sched: act_gact: use a separate packet counters for gact_determ()
[deliverable/linux.git] / include / net / tc_act / tc_gact.h
index 9fc9b578908ab868dcc0ef5986358ccb603bf5f9..592a6bc02b0b535087e9f2afee844b5ea37c666b 100644 (file)
@@ -6,9 +6,10 @@
 struct tcf_gact {
        struct tcf_common       common;
 #ifdef CONFIG_GACT_PROB
-        u16                    tcfg_ptype;
-        u16                    tcfg_pval;
-        int                    tcfg_paction;
+       u16                     tcfg_ptype;
+       u16                     tcfg_pval;
+       int                     tcfg_paction;
+       atomic_t                packets;
 #endif
 };
 #define to_gact(a) \
This page took 0.024336 seconds and 5 git commands to generate.