rxrpc: Do lazy DF flag resetting
authorDavid Howells <dhowells@redhat.com>
Mon, 29 Jan 2024 22:38:31 +0000 (22:38 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 29 Feb 2024 15:49:58 +0000 (15:49 +0000)
commitd32636982ce967110588c8445660b85685e26e5a
tree6d4a3dd70a5136e2a62aa07523bf08ccd532ad4f
parent693f9c13ec890b0ab36dfb9a5441fdce47255737
rxrpc: Do lazy DF flag resetting

Don't reset the DF flag after transmission, but rather set it when needed
since it should be a fast op now that we call IP directly.

This includes turning it off for RESPONSE packets and, for the moment, ACK
packets.  In future, we will need to turn it on for ACK packets used to do
path MTU discovery.

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
net/rxrpc/output.c
net/rxrpc/rxkad.c