diff options
author | Dexuan Cui <[email protected]> | 2017-10-18 02:08:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-10-20 14:56:25 +0200 |
commit | 9d35593b4f0b89ab0c194349c7d357b3b159e99a (patch) | |
tree | 3e951524cc33dddf4ff16acb4dc51ccdc76c18c7 /tools/perf/util/bpf-loader.c | |
parent | 66b83a4cdd3b73effdc285d1d66763c69ffe2ee8 (diff) |
vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()
Without the patch, vmbus_hvsock_device_unregister() can destroy the device
prematurely when close() is called, and can cause NULl dereferencing or
potential data loss (the last portion of the data stream may be dropped
prematurely).
Signed-off-by: Dexuan Cui <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/bpf-loader.c')
0 files changed, 0 insertions, 0 deletions