]> asedeno.scripts.mit.edu Git - linux.git/commit
rxrpc: Don't need to take the RCU read lock in the packet receiver
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 14:45:56 +0000 (15:45 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 14:45:56 +0000 (15:45 +0100)
commitbfd2821117a751763718f1b5e57216c0d9b19a49
tree0a01e47ab2a026a33c483629e6a3bdef22dad02c
parent5271953cad31b97dea80f848c16e96ad66401199
rxrpc: Don't need to take the RCU read lock in the packet receiver

We don't need to take the RCU read lock in the rxrpc packet receive
function because it's held further up the stack in the IP input routine
around the UDP receive routines.

Fix this by dropping the RCU read lock calls from rxrpc_input_packet().
This simplifies the code.

Fixes: 70790dbe3f66 ("rxrpc: Pass the last Tx packet marker in the annotation buffer")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c