diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-02-13 04:23:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-13 16:04:40 -0500 |
commit | 19c6c8f58b5840fd4757233b4849f42687d2ef3a (patch) | |
tree | fd4379667cb5001edb2e7dd49347bf7fbdcc5a3d /drivers/net/ppp | |
parent | de8261c2fa364397ed872fad1244d75364689168 (diff) |
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>
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r-- | drivers/net/ppp/ppp_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index edfa15d2e79..93a86397af3 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; |