Commit 19c6c8f5 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

ppp: fix truesize underestimation

When building frag_list, head truesize should be sum of all frag
truesize.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent de8261c2
...@@ -2113,7 +2113,7 @@ ppp_mp_reconstruct(struct ppp *ppp) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment