projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8261c
)
ppp: fix truesize underestimation
author
Eric Dumazet
<eric.dumazet@gmail.com>
Mon, 13 Feb 2012 04:23:24 +0000
(
04:23
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Feb 2012 21:04:40 +0000
(16:04 -0500)
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>
drivers/net/ppp/ppp_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ppp/ppp_generic.c
b/drivers/net/ppp/ppp_generic.c
index edfa15d2e79501deabe2e3c3481378d1a8ac7bb7..93a86397af36a970ff2dcb18708b70eea4e966a6 100644
(file)
--- a/
drivers/net/ppp/ppp_generic.c
+++ b/
drivers/net/ppp/ppp_generic.c
@@
-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;