projects
/
GitHub
/
moto-9609
/
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:
3a4e5e2
)
[ATM]: [zatm] always *pcr in alloc_shaper()
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Tue, 3 Oct 2006 23:28:31 +0000
(16:28 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:31:06 +0000
(
00:31
-0700)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/zatm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/atm/zatm.c
b/drivers/atm/zatm.c
index c491ec455cac405bef84dace1d05fcd31e0ecb89..083c5d3f2e1855d25a568174fa176a65269327a9 100644
(file)
--- a/
drivers/atm/zatm.c
+++ b/
drivers/atm/zatm.c
@@
-800,6
+800,7
@@
static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr)
i = m = 1;
zatm_dev->ubr_ref_cnt++;
zatm_dev->ubr = shaper;
+ *pcr = 0;
}
else {
if (min) {