diff options
author | 2018-09-25 22:09:10 +0200 | |
---|---|---|
committer | 2018-09-25 20:48:56 -0700 | |
commit | 3f32d0be6c16b902b687453c962d17eea5b8ea19 (patch) | |
tree | ef7a97c7382acbb5499b3c3c7ff44ffccd5f08c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | tipc: reset bearer if device carrier not ok (diff) | |
download | linux-dev-3f32d0be6c16b902b687453c962d17eea5b8ea19.tar.xz linux-dev-3f32d0be6c16b902b687453c962d17eea5b8ea19.zip |
tipc: lock wakeup & inputq at tipc_link_reset()
In tipc_link_reset() we copy the wakeup queue to input queue using
skb_queue_splice_init(link->wakeupq, link->inputq).
This is performed without holding any locks. The lists might be
simultaneously be accessed by other cpu threads in tipc_sk_rcv(),
something leading to to random missing packets.
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions