]> rtime.felk.cvut.cz Git - linux-lin.git/commit
sllin: protection against sllin_write_wakeup and sllin_send_tx_buff concurrency.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 5 Feb 2012 23:27:43 +0000 (00:27 +0100)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 5 Feb 2012 23:27:43 +0000 (00:27 +0100)
commita8968af863f4105e6df445d167a795a6c1f2fd95
tree422142d449f9400f9fc21c04555adba56873299b
parent5a5be8e4198e7d6ff4b18ab2f7ae67c1429a99f1
sllin: protection against sllin_write_wakeup and sllin_send_tx_buff concurrency.

The lock-less mutual exclusion protect code against
theoretical possibility of concurrent execution attempt.
That scenario can appear only on UART with FIFO shorter
than 10 characters and likely impossible even in such
cases.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
sllin/sllin.c