Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E23CC1F922 for ; Tue, 23 May 2023 15:14:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 587BCC433EF; Tue, 23 May 2023 15:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684854847; bh=Sty+pfhmLmM2kIuCzfnd947lu1RITsEpVCdIUrHG8jg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WXZ/9HqHEfQIZhlMbEJQpjbxQiN8PIar6A1iZ7K6fOyHGFA+qAcwnbK4rs+iRBv9B qoORNRcTpaXTB+8aq/Qt+ZhqNcA5y4xulusyujhiV/H9fV0AWewdKOuInn9mp+LmQs CzNgXcmkXc27HteundQObXdbalOJXhaqWkembP+788NH5uxlixNyRl151NZs3Dl8zv 4C/tOBc24ytesre9xSj9Qp+fPr7jyHH/96LrfQLFkdy5ztzvH41iF6YjOpLSJEEBMn QidQFm4w7+HN5NZogkemS5bbQdIk4Dyb3iFhP92+8FR3NXUV7EgMjXeMVYnoBtd2qC Ohr0Ino4ie+gQ== Message-ID: Date: Tue, 23 May 2023 09:14:06 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH net-next 3/3] udp: Stop using RTO_ONLINK. Content-Language: en-US To: Guillaume Nault , David Miller , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: netdev@vger.kernel.org, Willem de Bruijn References: From: David Ahern In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/22/23 8:38 AM, Guillaume Nault wrote: > Use ip_sendmsg_scope() to properly initialise the scope in > flowi4_init_output(), instead of overriding tos with the RTO_ONLINK > flag. The objective is to eventually remove RTO_ONLINK, which will > allow converting .flowi4_tos to dscp_t. > > Now that the scope is determined by ip_sendmsg_scope(), we need to > check its result to set the 'connected' variable. > > Signed-off-by: Guillaume Nault > --- > net/ipv4/udp.c | 17 ++++++----------- > 1 file changed, 6 insertions(+), 11 deletions(-) > Reviewed-by: David Ahern