Re: [PATCH net-next 13/21] rxrpc: Use rxrpc_txbuf::kvec[0] instead of rxrpc_txbuf::wire

From: Jakub Kicinski
Date: Sun Mar 03 2024 - 00:26:29 EST


On Fri, 1 Mar 2024 16:37:45 +0000 David Howells wrote:
> Use rxrpc_txbuf::kvec[0] instead of rxrpc_txbuf::wire to gain access to the
> Rx protocol header. In future, the wire header will be stored in a page
> frag, not in the rxrpc_txbuf struct making it possible to use
> MSG_SPLICE_PAGES when sending it.
>
> Similarly, access the ack header as being immediately after the wire header
> when filling out an ACK packet.

net/rxrpc/output.c:263:28: warning: unused variable 'whdr' [-Wunused-variable]
263 | struct rxrpc_wire_header *whdr;
| ^~~~