From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (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 2C4DAFC0C for ; Wed, 19 Jun 2024 20:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718828413; cv=none; b=umKH6HtcNNQnMnEaGeRzVdppHaShM9uVLLmt2JmnzqTn0odKtVfEFGnAETZG/tOKIAuaaIw1nyQus2pO0xkPhbhh1H0FVenBlFG9Cmgo/hvUWZEsFfDNZoI4tPrKjAZ7X8bDc2r4GFFaqkPhFX71g8tzQbRW6sLJHwzimt6qtCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718828413; c=relaxed/simple; bh=2u6c9DvRW6c/ZID9ei3+okhJP+O2vuieOd1dfJIIyrw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZPoOljRLtgUMAPw10CuF7YkLP667unNUd6kaPHVAL+X5QcDhEtjBcs14sct1aZwZ4nqFUGhz4KTutwYZ+KnkPH8d//uXr450w4OXD66X0tZIIn7RE+aMkfhqcWrtnPH63tCg3M9qvR4gdWrtZPWfkKm5Ei6mlClKC1RewctV+lA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1sK1mh-0002Ym-2x; Wed, 19 Jun 2024 22:19:59 +0200 Date: Wed, 19 Jun 2024 22:19:59 +0200 From: Florian Westphal To: Xin Long Cc: Ilya Maximets , Florian Westphal , network dev , dev@openvswitch.org, Marcelo Ricardo Leitner , Jiri Pirko , Davide Caratti , Jamal Hadi Salim , Eric Dumazet , Cong Wang , kuba@kernel.org, Paolo Abeni , davem@davemloft.net, Pablo Neira Ayuso , Aaron Conole Subject: Re: [PATCH net-next 3/3] openvswitch: set IPS_CONFIRMED in tmpl status only when commit is set in conntrack Message-ID: <20240619201959.GA1513@breakpoint.cc> References: <5a9886fd-cdd7-4aa2-880f-5664288d5f25@ovn.org> <619f9212-fa90-44d2-9951-800523413c8d@ovn.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Xin Long wrote: > > master connection only if it is not yet confirmed. Users may commit different > > labels for the related connection. This should be more in line with the > > previous behavior. > > > > What do you think? > > > You're right. > Also, I noticed the related ct->mark is set to master ct->mark in > init_conntrack() as well as secmark when creating the related ct. > > Hi, Florian, > > Any reason why the labels are not set to master ct's in there? The intent was to have lables be set only via ctnetlink (userspace) or ruleset. The original use case was for tagging connections based on observed behaviour/properties at a later time, not at start of flow.