diff options
author | Alexey Orishko <alexey.orishko@gmail.com> | 2011-01-17 07:07:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-18 16:13:50 -0800 |
commit | f742aa8acb7e50a383f6d2b00b1c52e081970d38 (patch) | |
tree | 365776e1df59f97ebad512ab61f57a704495bc72 /net | |
parent | 1956cc52e73984a39252994f0beee458fc0d8909 (diff) | |
download | linux-3.10-f742aa8acb7e50a383f6d2b00b1c52e081970d38.tar.gz linux-3.10-f742aa8acb7e50a383f6d2b00b1c52e081970d38.tar.bz2 linux-3.10-f742aa8acb7e50a383f6d2b00b1c52e081970d38.zip |
USB CDC NCM: tx_fixup() race condition fix
- tx_fixup() can be called from either timer callback or from xmit()
in usbnet, so spinlock is added to avoid concurrency-related problem.
- minor correction due to checkpatch warning for some line over 80
chars after previous patch was applied.
Signed-off-by: Alexey Orishko <alexey.orishko@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions