diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-02-13 05:23:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-13 22:04:40 +0100 |
commit | 19c6c8f58b5840fd4757233b4849f42687d2ef3a (patch) | |
tree | fd4379667cb5001edb2e7dd49347bf7fbdcc5a3d /drivers/net/ppp/ppp_generic.c | |
parent | gro: fix truesize underestimation (diff) | |
download | linux-19c6c8f58b5840fd4757233b4849f42687d2ef3a.tar.xz linux-19c6c8f58b5840fd4757233b4849f42687d2ef3a.zip |
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>
Diffstat (limited to 'drivers/net/ppp/ppp_generic.c')
-rw-r--r-- | drivers/net/ppp/ppp_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index edfa15d2e795..93a86397af36 100644 --- 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; |