From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C188E7AD57 for ; Tue, 3 Oct 2023 14:23:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234771AbjJCOXw (ORCPT ); Tue, 3 Oct 2023 10:23:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238685AbjJCOXw (ORCPT ); Tue, 3 Oct 2023 10:23:52 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0E71A3; Tue, 3 Oct 2023 07:23:46 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1qngJL-0002O4-4o; Tue, 03 Oct 2023 16:23:43 +0200 Date: Tue, 3 Oct 2023 16:23:43 +0200 From: Florian Westphal To: Xin Long Cc: Simon Horman , network dev , netfilter-devel@vger.kernel.org, linux-sctp@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, Eric Dumazet , Paolo Abeni , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Marcelo Ricardo Leitner Subject: Re: [PATCH nf] netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp Message-ID: <20231003142343.GA8405@breakpoint.cc> References: <6ee630f777cada3259b29e732e7ea9321a99197b.1696172868.git.lucien.xin@gmail.com> 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) Precedence: bulk List-ID: X-Mailing-List: linux-sctp@vger.kernel.org Xin Long wrote: > > The type of vtag is u32. But the type of ct->proto.sctp.vtag[!dir] and init_tag > > is __be32. This doesn't seem right (and makes Sparse unhappy). > You're right, I will fix it and re-post with tag: > > Fixes: 9fb9cbb1082d ("[NETFILTER]: Add nf_conntrack subsystem.") I'm fine with this, the bug is likely inherited from ipt_conntrack_sctp.c, but that doesn't exist anymore. Would you also fix up the __be32/u32 confusion? Better to not add more sparse warnings... Thanks!