Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp381371rdd; Tue, 9 Jan 2024 07:07:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg4bKor690CFQP++WnbdSdsU2ZKVm5d2Mv7ZvUVQyE1HQDwUCE4R7EWtubJ3f4uw0oVPLn X-Received: by 2002:a05:6102:4191:b0:467:a4db:e6e1 with SMTP id cd17-20020a056102419100b00467a4dbe6e1mr2858485vsb.31.1704812826610; Tue, 09 Jan 2024 07:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704812826; cv=none; d=google.com; s=arc-20160816; b=nwYQTZH3DeC+TtSnA81pFzecaXKC0kpbO+fRxOUeQzoeGPN+qsmFl6uFFx9+inYDGi HoSqL1a3hwmxnfSC4gH7PPK+vVYiLc2DEnLqk1UiICfxPZGJVlkBlilK6NYpX5kPGg2c //ZBJMKsj2S3EPsw1ZU8aLiEs/8tpfxMAtgWW476PZZ3HG1J2MvjNWAYl9+rf5SzrOy3 QvYnpXSCVPe0saOnX1vIjm8bQoYT6nQ4PTVH0l+vy7fxhbg1fcicfo4zK3xSaADtqnfL 3/r6j/fuK/90pyGjdhzzOVVZCwLa/6TUtzpnF2qJ0/34hT68Wh8uSshDIuyVrb3MRCDL bDpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:cc:references:in-reply-to :from:organization:dkim-signature; bh=tbXPl0foJ8pZ9LmM10Gvp60O6UdohP4YzMh1SzUToow=; fh=r3Qoj1T3soLXtS2huvyNUVxW9c3EdQU9VUMbyDIYMbY=; b=IZKTfCooWGVp/NMAY2hICUvRppZw11XzUiUZDGLg3JMa7MS406XvXYXtx1DtlTsF4t 1We1njRt9RzYKoZfzNvsEWSxrghwlybci1toT92pEJ3GpNFS9gzlVGtzpNtRL+r60x7t fu8lsiMu8VwNb2mrw+2+WiF0RR9DcrRkDrdGCdIbADtzo9khN1/XcT25s/gPb81UwB4J j3dDEiOi0POqWpgYulDWtD6M53KhEw24a/mLmdadnK/vh+18UPb3y9AY9vMZSwp5Yi1q zmfqj6FgvH0YpC1GnnDnM5E32vkZQP41QHNczR+C8L3f1Zndu6I66G669AMDViJlsVZf KQsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="U/k1jWqt"; spf=pass (google.com: domain of linux-kernel+bounces-21025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j14-20020a67fa4e000000b00467d107d63fsi300854vsq.17.2024.01.09.07.07.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 07:07:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="U/k1jWqt"; spf=pass (google.com: domain of linux-kernel+bounces-21025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 45A041C238B1 for ; Tue, 9 Jan 2024 15:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A1D339AF3; Tue, 9 Jan 2024 15:07:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="U/k1jWqt" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E444839AE3 for ; Tue, 9 Jan 2024 15:06:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704812818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tbXPl0foJ8pZ9LmM10Gvp60O6UdohP4YzMh1SzUToow=; b=U/k1jWqtgqMSBoV+gX1QBsKgpQiPYqleYp+t7R1L2H9UDoTCR6R83hv3AB1BdSR9IlyUVf PS0pajMl1WpGR1pu2Dd7VV8XToaExhDFJisf/g0PTp/AEmL3EU+YFNud9Jdgq3DLyihUw3 jGOFN5iImH4FOuyQs4UTf/qaQE57Sdg= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-461-0Qlj9OIRP46D746-dHJvzQ-1; Tue, 09 Jan 2024 10:06:54 -0500 X-MC-Unique: 0Qlj9OIRP46D746-dHJvzQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DE556280640F; Tue, 9 Jan 2024 15:06:53 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id B8BC91C060AF; Tue, 9 Jan 2024 15:06:52 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1580269.1704810719@warthog.procyon.org.uk> References: <1580269.1704810719@warthog.procyon.org.uk> Cc: dhowells@redhat.com, Marc Dionne , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-afs@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2] rxrpc: Fix use of Don't Fragment flag Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1581608.1704812812.1@warthog.procyon.org.uk> Date: Tue, 09 Jan 2024 15:06:52 +0000 Message-ID: <1581609.1704812812@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 David Howells wrote: > +void rxrpc_local_dont_fragment(const struct rxrpc_local *local, bool set) > +{ > + if (set) > + ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DONT); > + else > + ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DO); > +} Oops... I forgot to commit the change. David