diff options
author | Eric Dumazet <edumazet@google.com> | 2019-11-05 04:13:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-06 03:20:55 +0100 |
commit | d0083d98f685b9f4fe810570f93cef0b0bb6b354 (patch) | |
tree | 41cfd67342c054de0ecb8782b21d99151e21a755 /net/sched/act_simple.c | |
parent | net_sched: do not export gnet_stats_basic_packed to uapi (diff) | |
download | linux-d0083d98f685b9f4fe810570f93cef0b0bb6b354.tar.xz linux-d0083d98f685b9f4fe810570f93cef0b0bb6b354.zip |
net_sched: extend packet counter to 64bit
After this change, qdisc packet counter is no longer
a 32bit quantity. We still export 32bit values to user.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_simple.c')
-rw-r--r-- | net/sched/act_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index 97639b259cd7..9813ca4006dd 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c @@ -35,7 +35,7 @@ static int tcf_simp_act(struct sk_buff *skb, const struct tc_action *a, * Example if this was the 3rd packet and the string was "hello" * then it would look like "hello_3" (without quotes) */ - pr_info("simple: %s_%d\n", + pr_info("simple: %s_%llu\n", (char *)d->tcfd_defdata, d->tcf_bstats.packets); spin_unlock(&d->tcf_lock); return d->tcf_action; |