diff options
author | David Howells <dhowells@redhat.com> | 2024-01-29 18:01:10 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-02-29 18:49:56 +0300 |
commit | 12bdff73a147aebcea8efae2b395ef0c27448909 (patch) | |
tree | bf7c0c7abd5e71bb89484b5a0ff5ad66f08ad055 /net/rxrpc/server_key.c | |
parent | ba132d841d5637655273c28d30751c8d18ac189b (diff) | |
download | linux-12bdff73a147aebcea8efae2b395ef0c27448909.tar.xz |
rxrpc: Convert rxrpc_txbuf::flags into a mask and don't use atomics
Convert the transmission buffer flags into a mask and use | and & rather
than bitops functions (atomic ops are not required as only the I/O thread
can manipulate them once submitted for transmission).
The bottom byte can then correspond directly to the Rx protocol header
flags.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
Diffstat (limited to 'net/rxrpc/server_key.c')
0 files changed, 0 insertions, 0 deletions