In message <20121111110437.ga25...@shrek.podlesie.net>,Krzysztof Mazur writes: >Any race with testing vcc flags is probably not really important >because: > - vcc_release_async() does not take any lock so this check > will be always racy so we are probably allowed to send > new frames until vcc is really closed,
this locking/synchronization is handled in the atm device drivers. the send and close routines are responsbile for synchronization (yes, i believe that leads to duplicated code but that is the way it currently is) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/