[ATM]: deregistration removes device from atm_devs list immediately
authorStanislaw Gruszka <stf_xl@wp.pl>
Wed, 30 Nov 2005 00:16:41 +0000 (16:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2005 00:16:41 +0000 (16:16 -0800)
commit64bf69ddff7637b7ed7acf9b2a823cc0ee519439
treefb3a746e36bcfa307979bef2a20ce5f1d32ec537
parentaaaaaadbe7a663d110814db50fcbe7d320eb4c32
[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>
drivers/atm/atmtcp.c
drivers/usb/atm/usbatm.c
include/linux/atmdev.h
net/atm/common.c
net/atm/common.h
net/atm/resources.c