Commit cbe0d890 authored by David Howells's avatar David Howells Committed by Jakub Kicinski
Browse files

rxrpc: Don't set the MORE-PACKETS rxrpc wire header flag



The MORE-PACKETS rxrpc header flag hasn't actually been looked at by
anything since 1988 and not all implementations generate it.

Change rxrpc so that it doesn't set MORE-PACKETS at all rather than setting
it inconsistently.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20241204074710.990092-6-dhowells@redhat.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent efa95c32
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -385,9 +385,6 @@ static int rxrpc_send_data(struct rxrpc_sock *rx,
		    (msg_data_left(msg) == 0 && !more)) {
			if (msg_data_left(msg) == 0 && !more)
				txb->flags |= RXRPC_LAST_PACKET;
			else if (call->tx_top - call->acks_hard_ack <
				 call->tx_winsize)
				txb->flags |= RXRPC_MORE_PACKETS;

			ret = call->security->secure_packet(call, txb);
			if (ret < 0)