]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rxrpc: Only set DF=1 on initial DATA transmission
authorDavid Howells <dhowells@redhat.com>
Wed, 4 Dec 2024 07:46:43 +0000 (07:46 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 Dec 2024 21:48:27 +0000 (13:48 -0800)
commit81e7761be58aa915cc825afc6ff35dec63bf0b2f
treed0f30236d5a208b06f694f45edd2e2b2492c2cf9
parentcd69a07b6d186eeb7df20d8bcbef18d7bbd84c4b
rxrpc: Only set DF=1 on initial DATA transmission

Change how the DF flag is managed on DATA transmissions.  Set it on initial
transmission and don't set it on retransmissions.  Then remove the handling
for EMSGSIZE in rxrpc_send_data_packet() and just pretend it didn't happen,
leaving it to the retransmission path to retry.

The path-MTU discovery using PING ACKs is then used to probe for the
maximum DATA size - though notification by ICMP will be used if one is
received.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20241204074710.990092-16-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rxrpc/ar-internal.h
net/rxrpc/output.c
net/rxrpc/proc.c