diff options
author | David Howells <dhowells@redhat.com> | 2020-01-24 11:21:15 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 14:36:42 +0100 |
commit | 3dd9c8b5f09fd24652729a3da5c5efa3ec2c4590 (patch) | |
tree | 7325670c28397dae62cf553efe6fba29ac39e921 /net/rxrpc/input.c | |
parent | rxrpc: Make the I/O thread take over the call and local processor work (diff) | |
download | linux-3dd9c8b5f09fd24652729a3da5c5efa3ec2c4590.tar.xz linux-3dd9c8b5f09fd24652729a3da5c5efa3ec2c4590.zip |
rxrpc: Remove the _bh annotation from all the spinlocks
None of the spinlocks in rxrpc need a _bh annotation now as the RCU
callback routines no longer take spinlocks and the bulk of the packet
wrangling code is now run in the I/O thread, not softirq context.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/input.c')
-rw-r--r-- | net/rxrpc/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c index 7ae7046f0b03..dd2ac5d55e1c 100644 --- a/net/rxrpc/input.c +++ b/net/rxrpc/input.c @@ -669,10 +669,10 @@ static void rxrpc_input_ackinfo(struct rxrpc_call *call, struct sk_buff *skb, peer = call->peer; if (mtu < peer->maxdata) { - spin_lock_bh(&peer->lock); + spin_lock(&peer->lock); peer->maxdata = mtu; peer->mtu = mtu + peer->hdrsize; - spin_unlock_bh(&peer->lock); + spin_unlock(&peer->lock); } if (wake) |