summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-02-13 04:23:24 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-13 16:04:40 -0500
commit19c6c8f58b5840fd4757233b4849f42687d2ef3a (patch)
treefd4379667cb5001edb2e7dd49347bf7fbdcc5a3d
parentde8261c2fa364397ed872fad1244d75364689168 (diff)
downloadblackbird-op-linux-19c6c8f58b5840fd4757233b4849f42687d2ef3a.tar.gz
blackbird-op-linux-19c6c8f58b5840fd4757233b4849f42687d2ef3a.zip
ppp: fix truesize underestimation
When building frag_list, head truesize should be sum of all frag truesize. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ppp/ppp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index edfa15d2e795..93a86397af36 100644
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -2113,7 +2113,7 @@ ppp_mp_reconstruct(struct ppp *ppp)
skb->len += p->len;
skb->data_len += p->len;
- skb->truesize += p->len;
+ skb->truesize += p->truesize;
if (p == tail)
break;
OpenPOWER on IntegriCloud