• Kai Germaschewski's avatar
    ISDN: race-free incoming call handling · 755c978b
    Kai Germaschewski authored
    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
    755c978b
isdn_concap.c 7.15 KB