提交 19c6c8f5 编写于 作者: E Eric Dumazet 提交者: David S. Miller

ppp: fix truesize underestimation

When building frag_list, head truesize should be sum of all frag
truesize.
Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 de8261c2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册