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 5A889C04AAC for ; Wed, 20 Sep 2023 16:22:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234572AbjITQWy (ORCPT ); Wed, 20 Sep 2023 12:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234611AbjITQWx (ORCPT ); Wed, 20 Sep 2023 12:22:53 -0400 Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DB8DCF for ; Wed, 20 Sep 2023 09:22:47 -0700 (PDT) Received: from [78.30.34.192] (port=36076 helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qizyN-004ejV-Cl; Wed, 20 Sep 2023 18:22:45 +0200 Date: Wed, 20 Sep 2023 18:22:42 +0200 From: Pablo Neira Ayuso To: Thomas Haller Cc: NetFilter Subject: Re: [PATCH nft 6/9] netlink: handle invalid etype in set_make_key() Message-ID: References: <20230920142958.566615-1-thaller@redhat.com> <20230920142958.566615-7-thaller@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230920142958.566615-7-thaller@redhat.com> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Wed, Sep 20, 2023 at 04:26:07PM +0200, Thomas Haller wrote: > It's not clear to me, what ensures that the etype is always valid. > Handle a NULL. Applied, thanks