summaryrefslogtreecommitdiff
path: root/net/qrtr
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2018-07-20 12:27:30 +0300
committerDominique Martinet <dominique.martinet@cea.fr>2018-08-13 03:34:58 +0300
commit430ac66eb4c5b5c4eb846b78ebf65747510b30f1 (patch)
tree231ed517b90b2417c631ed567e27b2f983ea1751 /net/qrtr
parent31934da810365f603dec5a67e690e00cf900fc73 (diff)
downloadlinux-430ac66eb4c5b5c4eb846b78ebf65747510b30f1.tar.xz
net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
The patch adds the flush in p9_mux_poll_stop() as it the function used by p9_conn_destroy(), in turn called by p9_fd_close() to stop the async polling associated with the data regarding the connection. Link: http://lkml.kernel.org/r/20180720092730.27104-1-tomasbortoli@gmail.com Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+39749ed7d9ef6dfb23f6@syzkaller.appspotmail.com To: Eric Van Hensbergen <ericvh@gmail.com> To: Ron Minnich <rminnich@sandia.gov> To: Latchesar Ionkov <lucho@ionkov.net> Cc: Yiwen Jiang <jiangyiwen@huwei.com> Cc: stable@vger.kernel.org Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'net/qrtr')
0 files changed, 0 insertions, 0 deletions