aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-11-19 14:16:57 +0000
committerSteve French <stfrench@microsoft.com>2022-01-19 11:10:54 -0600
commit88b024f556fcd5bf1288c6333016f576cfa5f539 (patch)
tree26e936c19c55aa2484d3ae6c4c23e9fde3ff0d2d /tools/perf/util/scripting-engines/trace-event-python.c
parentcifs: fix the connection state transitions with multichannel (diff)
downloadwireguard-linux-88b024f556fcd5bf1288c6333016f576cfa5f539.tar.xz
wireguard-linux-88b024f556fcd5bf1288c6333016f576cfa5f539.zip
cifs: protect all accesses to chan_* with chan_lock
A spin lock called chan_lock was introduced recently. But not all accesses were protected. Doing that with this change. To make sure that a channel is not freed when in use, we need to introduce a ref count. But today, we don't ever free channels. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions