diff options
author | David Howells <dhowells@redhat.com> | 2022-10-12 16:42:06 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 14:36:41 +0100 |
commit | 29fb4ec385f18db98d9188c2173a0b07d2de6917 (patch) | |
tree | 5421332d90da716ec1aaf36574cfe68af7f994e2 /net/rxrpc/output.c | |
parent | rxrpc: Move DATA transmission into call processor work item (diff) | |
download | linux-29fb4ec385f18db98d9188c2173a0b07d2de6917.tar.xz linux-29fb4ec385f18db98d9188c2173a0b07d2de6917.zip |
rxrpc: Remove RCU from peer->error_targets list
Remove the RCU requirements from the peer's list of error targets so that
the error distributor can call sleeping functions.
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/output.c')
-rw-r--r-- | net/rxrpc/output.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/rxrpc/output.c b/net/rxrpc/output.c index c8147e50060b..71963b4523be 100644 --- a/net/rxrpc/output.c +++ b/net/rxrpc/output.c @@ -394,12 +394,6 @@ int rxrpc_send_data_packet(struct rxrpc_call *call, struct rxrpc_txbuf *txb) _enter("%x,{%d}", txb->seq, txb->len); - if (hlist_unhashed(&call->error_link)) { - spin_lock_bh(&call->peer->lock); - hlist_add_head_rcu(&call->error_link, &call->peer->error_targets); - spin_unlock_bh(&call->peer->lock); - } - /* Each transmission of a Tx packet needs a new serial number */ serial = atomic_inc_return(&conn->serial); txb->wire.serial = htonl(serial); |