Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;