diff options
author | Scott Mayhew <smayhew@redhat.com> | 2017-01-05 16:34:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-26 08:24:37 +0100 |
commit | a297ed84b92846963b4a7c5efd90910cea9c39a5 (patch) | |
tree | 15118ca8f83beab3fcaccd390f965db5bca834b5 /fs/Kconfig | |
parent | 90687fc3c8c386a16326089d68cf616b8049440f (diff) | |
download | linux-rt-a297ed84b92846963b4a7c5efd90910cea9c39a5.tar.gz |
sunrpc: don't call sleeping functions from the notifier block callbacks
commit 546125d1614264d26080817d0c8cddb9b25081fa upstream.
The inet6addr_chain is an atomic notifier chain, so we can't call
anything that might sleep (like lock_sock)... instead of closing the
socket from svc_age_temp_xprts_now (which is called by the notifier
function), just have the rpc service threads do it instead.
Fixes: c3d4879e01be "sunrpc: Add a function to close..."
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions