[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>
Showing
- drivers/atm/atmtcp.c 2 additions, 18 deletionsdrivers/atm/atmtcp.c
- drivers/usb/atm/usbatm.c 2 additions, 2 deletionsdrivers/usb/atm/usbatm.c
- include/linux/atmdev.h 7 additions, 7 deletionsinclude/linux/atmdev.h
- net/atm/common.c 27 additions, 3 deletionsnet/atm/common.c
- net/atm/common.h 2 additions, 0 deletionsnet/atm/common.h
- net/atm/resources.c 12 additions, 27 deletionsnet/atm/resources.c
Loading
Please register or sign in to comment