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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56316C433E6 for ; Fri, 19 Feb 2021 15:48:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16F1A64EB8 for ; Fri, 19 Feb 2021 15:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbhBSPrv (ORCPT ); Fri, 19 Feb 2021 10:47:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhBSPrn (ORCPT ); Fri, 19 Feb 2021 10:47:43 -0500 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C58B9C061756 for ; Fri, 19 Feb 2021 07:47:01 -0800 (PST) Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.94) (envelope-from ) id 1lD7ze-0007Nd-4G; Fri, 19 Feb 2021 16:46:58 +0100 Date: Fri, 19 Feb 2021 16:46:58 +0100 From: Phil Sutter To: Eric Garver Cc: netfilter-devel@vger.kernel.org Subject: Re: [PATCH nft] json: init parser state for every new buffer/file Message-ID: <20210219154658.GE22016@orbyte.nwl.cc> Mail-Followup-To: Phil Sutter , Eric Garver , netfilter-devel@vger.kernel.org References: <20210219151126.3544581-1-eric@garver.life> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210219151126.3544581-1-eric@garver.life> Sender: Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Fri, Feb 19, 2021 at 10:11:26AM -0500, Eric Garver wrote: > Otherwise invalid error states cause subsequent json parsing to fail > when it should not. > > Signed-off-by: Eric Garver Applied, thanks!