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

Jakub Kicinski kuba at kernel.org
Sat Mar 2 21:26:15 PST 2024


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;
      |                                   ^~~~



More information about the linux-afs mailing list