]> err.no Git - linux-2.6/blobdiff - net/sched/act_ipt.c
tcp: MD5: Fix IPv6 signatures
[linux-2.6] / net / sched / act_ipt.c
index da696fd3e34125c7f232ae937a83d5bb1286887f..d1263b3c96c37836a99379ab6911f84518eeea8e 100644 (file)
@@ -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