projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/atm/zatm.c
b/drivers/atm/zatm.c
index
c491ec4
..
083c5d3
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) {