Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

From: Chas Williams (CONTRACTOR)
Date: Sun Nov 11 2012 - 17:49:39 EST


In message <20121111110437.GA25894@xxxxxxxxxxxxxxxxxx>,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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/