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:
57f1553
)
ppp_generic: fix multilink fragment sizes
author
Ben McKeegan
<ben@netservers.co.uk>
Wed, 2 Jun 2010 23:14:33 +0000
(23:14 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 4 Jun 2010 22:56:01 +0000
(15:56 -0700)
Fix bug in multilink fragment size calculation introduced by
commit
9c705260feea6ae329bc6b6d5f6d2ef0227eda0a
"ppp: ppp_mp_explode() redesign"
Signed-off-by: Ben McKeegan <ben@netservers.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ppp_generic.c
b/drivers/net/ppp_generic.c
index c5f8eb102bf76de12c86d2665b19b1c7fcb8d8b0..1b2c29150202080e75c2e9732b0150c204ed9161 100644
(file)
--- a/
drivers/net/ppp_generic.c
+++ b/
drivers/net/ppp_generic.c
@@
-1422,7
+1422,7
@@
static int ppp_mp_explode(struct ppp *ppp, struct sk_buff *skb)
flen = len;
if (nfree > 0) {
if (pch->speed == 0) {
- flen =
tot
len/nfree;
+ flen = len/nfree;
if (nbigger > 0) {
flen++;
nbigger--;