summaryrefslogtreecommitdiff
path: root/arch/m68k/kernel/setup_mm.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-11-02 18:27:53 +0300
committerDavid Howells <dhowells@redhat.com>2017-11-13 18:38:21 +0300
commit98bf40cd99fcfed0705812b6cbdbb3b441a42970 (patch)
treee0108e6306a6fde29bf7d5348f730922a18dc2b1 /arch/m68k/kernel/setup_mm.c
parent13524ab3c6f41bcd257d28644414297bea8282b7 (diff)
downloadlinux-98bf40cd99fcfed0705812b6cbdbb3b441a42970.tar.xz
afs: Protect call->state changes against signals
Protect call->state changes against the call being prematurely terminated due to a signal. What can happen is that a signal causes afs_wait_for_call_to_complete() to abort an afs_call because it's not yet complete whilst afs_deliver_to_call() is delivering data to that call. If the data delivery causes the state to change, this may overwrite the state of the afs_call, making it not-yet-complete again - but no further notifications will be forthcoming from AF_RXRPC as the rxrpc call has been aborted and completed, so kAFS will just hang in various places waiting for that call or on page bits that need clearing by that call. A tracepoint to monitor call state changes is also provided. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/m68k/kernel/setup_mm.c')
0 files changed, 0 insertions, 0 deletions