ISDN: race-free incoming call handling
Move the incoming call handling from isdn_net.c to isdn_net_lib.c. We use a spinlock protected list for finding a matching device on incoming calls, making sure that a concurrent net_device::close() cannot corrupt the list under us or destroy the isdn_net_dev before its ref count hits zero. Also, remove superfluous #ifdefs from isdn_concap.c
Showing
Please register or sign in to comment