lkml.org 
[lkml]   [2018]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[GIT PULL] fasync fix for v4.18
From
Date
The following changes since commit fff75eb2a08c2ac96404a2d79685668f3cf5a7a3:

Merge tag 'errseq-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux (2018-04-30 16:53:40 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/locks-v4.18-1

for you to fetch changes up to 7a107c0f55a3b4c6f84a4323df5610360bde1684:

fasync: Fix deadlock between task-context and interrupt-context kill_fasync() (2018-05-01 07:39:50 -0400)

----------------------------------------------------------------

Just a single fix for a deadlock in the fasync handling code that Kirill
observed while testing. The fix is to change the fa_lock to be rwlock_t,
and use a read lock in kill_fasync_rcu.

----------------------------------------------------------------
Kirill Tkhai (1):
fasync: Fix deadlock between task-context and interrupt-context kill_fasync()

fs/fcntl.c | 15 +++++++--------
include/linux/fs.h | 2 +-
2 files changed, 8 insertions(+), 9 deletions(-)

--
Jeff Layton <jlayton@kernel.org>

\
 
 \ /
  Last update: 2018-06-04 15:29    [W:0.038 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site