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:
parent
de8261c2fa
commit
19c6c8f58b
|
@ -2113,7 +2113,7 @@ ppp_mp_reconstruct(struct ppp *ppp)
|
||||||
|
|
||||||
skb->len += p->len;
|
skb->len += p->len;
|
||||||
skb->data_len += p->len;
|
skb->data_len += p->len;
|
||||||
skb->truesize += p->len;
|
skb->truesize += p->truesize;
|
||||||
|
|
||||||
if (p == tail)
|
if (p == tail)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue