summaryrefslogtreecommitdiff
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-10-08 16:33:50 +0300
committerDavid Howells <dhowells@redhat.com>2022-12-01 16:36:41 +0300
commitcd21effb0552d666b2f8609560be764a1a56adbe (patch)
treef74ae30d09d037c63db846ef340e0c9651c583a2 /lib/strncpy_from_user.c
parent2d1faf7a0ca3c0b327cf064c80e4e775532c9319 (diff)
downloadlinux-cd21effb0552d666b2f8609560be764a1a56adbe.tar.xz
rxrpc: Reduce the use of RCU in packet input
Shrink the region of rxrpc_input_packet() that is covered by the RCU read lock so that it only covers the connection and call lookup. This means that the bits now outside of that can call sleepable functions such as kmalloc and sendmsg. Also take a ref on the conn or call we're going to use before we drop the RCU read lock. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions