mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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->data_len += p->len;
|
||||
skb->truesize += p->len;
|
||||
skb->truesize += p->truesize;
|
||||
|
||||
if (p == tail)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user