diff options
| author | 2016-08-19 11:12:56 +0200 | |
|---|---|---|
| committer | 2016-08-21 16:53:57 +0200 | |
| commit | b24c9fe9fcf9c7a04fa08e5c1da7d156011e6b63 (patch) | |
| tree | c42ea2dd507ac164b810fe4dfe054fdea072d5f3 /include/linux | |
| parent | staging: most: hdm-usb: assign spinlock to local variable (diff) | |
staging: most: hdm-usb: synchronize release of struct buf_anchor
In case a channel that is going to be destroyed has been tagged as not
"healthy" by the function hdm_poison_channel() while the functions
hdm_write_completion() or hdm_read_completion() are being executed, they
race for destruction of buf_anchor.
This patch fixes the problem.
Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
