aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_gact.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2016-09-18 08:45:33 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-19 22:04:14 -0400
commit5a7a5555a362f60350668cd124df9a396f546c61 (patch)
tree81c098fab52f338cedd8ba5d89c786ce3cd128c5 /net/sched/act_gact.c
parentnet sched actions police: peg drop stats for conforming traffic (diff)
downloadlinux-dev-5a7a5555a362f60350668cd124df9a396f546c61.tar.xz
linux-dev-5a7a5555a362f60350668cd124df9a396f546c61.zip
net sched: stylistic cleanups
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/sched/act_gact.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c
index e24a4093d6f6..e0aa30f83c6c 100644
--- a/net/sched/act_gact.c
+++ b/net/sched/act_gact.c
@@ -156,7 +156,8 @@ static void tcf_gact_stats_update(struct tc_action *a, u64 bytes, u32 packets,
int action = READ_ONCE(gact->tcf_action);
struct tcf_t *tm = &gact->tcf_tm;
- _bstats_cpu_update(this_cpu_ptr(gact->common.cpu_bstats), bytes, packets);
+ _bstats_cpu_update(this_cpu_ptr(gact->common.cpu_bstats), bytes,
+ packets);
if (action == TC_ACT_SHOT)
this_cpu_ptr(gact->common.cpu_qstats)->drops += packets;