diff options
author | Stanislaw Gruszka <stf_xl@wp.pl> | 2005-11-30 03:16:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-30 03:16:41 +0300 |
commit | 64bf69ddff7637b7ed7acf9b2a823cc0ee519439 (patch) | |
tree | fb3a746e36bcfa307979bef2a20ce5f1d32ec537 /net/atm/common.h | |
parent | aaaaaadbe7a663d110814db50fcbe7d320eb4c32 (diff) | |
download | linux-64bf69ddff7637b7ed7acf9b2a823cc0ee519439.tar.xz |
[ATM]: deregistration removes device from atm_devs list immediately
atm_dev_deregister() removes device from atm_dev list immediately to
prevent operations on a phantom device. Decision to free device based
only on ->refcnt now. Remove shutdown_atm_dev() use atm_dev_deregister()
instead. atm_dev_deregister() also asynchronously releases all vccs
related to device.
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/common.h')
-rw-r--r-- | net/atm/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/atm/common.h b/net/atm/common.h index e49ed41c0e33..4887c317cefe 100644 --- a/net/atm/common.h +++ b/net/atm/common.h @@ -47,4 +47,6 @@ static inline void atm_proc_exit(void) /* SVC */ int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos); +void atm_dev_release_vccs(struct atm_dev *dev); + #endif |