rxrpc: Merge together DF/non-DF branches of data Tx function
authorDavid Howells <dhowells@redhat.com>
Mon, 29 Jan 2024 22:49:19 +0000 (22:49 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 29 Feb 2024 15:49:58 +0000 (15:49 +0000)
commit1ac6a8536c2cbb12b593f0f4ffd7816b15a484fa
tree25d3f32eb068bc18f7fc7aef0a6271de008ad4f7
parentd32636982ce967110588c8445660b85685e26e5a
rxrpc: Merge together DF/non-DF branches of data Tx function

Merge together the DF and non-DF branches of the transmission function and
always set the flag to the right thing before transmitting.  If we see
-EMSGSIZE from udp_sendmsg(), turn off DF and retry.

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