projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' into x86/urgent
[linux-2.6-block.git]
/
net
/
sched
/
act_ipt.c
diff --git
a/net/sched/act_ipt.c
b/net/sched/act_ipt.c
index da696fd3e34125c7f232ae937a83d5bb1286887f..d1263b3c96c37836a99379ab6911f84518eeea8e 100644
(file)
--- a/
net/sched/act_ipt.c
+++ b/
net/sched/act_ipt.c
@@
-205,7
+205,7
@@
static int tcf_ipt(struct sk_buff *skb, struct tc_action *a,
spin_lock(&ipt->tcf_lock);
ipt->tcf_tm.lastuse = jiffies;
- ipt->tcf_bstats.bytes +=
skb->len
;
+ ipt->tcf_bstats.bytes +=
qdisc_pkt_len(skb)
;
ipt->tcf_bstats.packets++;
/* yes, we have to worry about both in and out dev