projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net_sched: Add accessor function for packet length for qdiscs
[deliverable/linux.git]
/
net
/
sched
/
act_simple.c
diff --git
a/net/sched/act_simple.c
b/net/sched/act_simple.c
index 1d421d059caf48aa7f2327acf0c011355deaf534..e7851ce92cfea56cef8ba52943cbbba5a1942b68 100644
(file)
--- a/
net/sched/act_simple.c
+++ b/
net/sched/act_simple.c
@@
-41,7
+41,7
@@
static int tcf_simp(struct sk_buff *skb, struct tc_action *a, struct tcf_result
spin_lock(&d->tcf_lock);
d->tcf_tm.lastuse = jiffies;
- d->tcf_bstats.bytes +=
skb->len
;
+ d->tcf_bstats.bytes +=
qdisc_pkt_len(skb)
;
d->tcf_bstats.packets++;
/* print policy string followed by _ then packet count
This page took
0.040319 seconds
and
5
git commands to generate.