aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2016-11-28 19:23:35 +0000
committerJiri Kosina <[email protected]>2016-11-29 14:17:34 +0000
commit6d290391be9233349345d49f4539a87f8cb31c30 (patch)
treebe039f8e7c529d33356bcdd02e7a8aeeb949cb93 /net/unix/af_unix.c
parentHID: intel-ish-hid: ipc: use msleep_interrupt() for wait (diff)
downloadkernel-6d290391be9233349345d49f4539a87f8cb31c30.tar.gz
kernel-6d290391be9233349345d49f4539a87f8cb31c30.zip
HID: intel-ish-hid: Fix potential race condition
Although unlikely but it is possible that when a connect or disconnect request is issued to the firmware, before the response comes, user terminates the client session. In this case when the response is arrived there is no matching client instance in the list of currently active clients. In this case, don't issue call to wake up a waiting client. Signed-off-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions