mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[ATM]: [zatm] always *pcr in alloc_shaper()
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3a4e5e2033
commit
3e0c0ac84c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user