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:
Родитель
de8261c2fa
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче