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>
This commit is contained in:
Eric Dumazet 2012-02-13 04:23:24 +00:00 committed by David S. Miller
parent de8261c2fa
commit 19c6c8f58b
1 changed files with 1 additions and 1 deletions

View File

@ -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;