Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2333367ybt; Fri, 3 Jul 2020 06:44:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywoz8pJKn835mVyteA0v13ifwWhALAqKxT0U46RbMfL5sG7rcBRzjxgzricSudo6LEyDZu X-Received: by 2002:a05:6402:cb3:: with SMTP id cn19mr37832274edb.368.1593783855211; Fri, 03 Jul 2020 06:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593783855; cv=none; d=google.com; s=arc-20160816; b=KrzhL6F7rHSpSzcrkxPCyM7soL6Up03rkx4mAdGHZn9sFcQB8kwG6n2dWG+j6fahQ9 AKZt8Hj2nbmT11IR2K+Vu9LcPim+SsQViqjf2M4pqxMgy8WAOShUn5yk4fEx++If9COl 1jDHo3l/adGFX+ygH6vrOQi6UnHrcuj3cua1TCeM+h/bR/7e76V7BoFPyOaWGmHT3ecO ygRfg99AXXV00ZeaM6JV8Wi0YIf2Vl7RT+fLSlLEQUsTMmWwvd6LrnrUKPSmB3xSbWEQ ps5vKJHOWWEuNR1D5A6oYekfCNffHPGJYwP1dq1Lz+4tsCx1tHXSc5b0ORwgs/HP1RMK a1ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7uF7g65N0fhkNRDQWLvCnLMIuNK+JZWHI0AnyxJK8Ns=; b=v+iHMZ0g0AsEpkgJYSe065vcQnlBHTMDDwhp9z7pEFqRgaH0iTJQfkyvtrmsboBziA Q/ckyWaDrQb2iMU1mFbrY/Fad23z5KFq3oIR9sOPI4fiK7FB91d+4CSQtDtgY29YMP52 pHoIToFixU2mETjHWs2vNEuyjxvwXT0haiIbw8FH+BMta0RlecVMlZ2nm127bARtRIuk 7xzKh/pcaYVcXubzyOVz+NxavQV3jsbS894/gyXySVXiqFXEI2sTuQDCcP6/8YsMvn7j 3ctv79zvwmRh7Yee3NPJ3AKh0ohbqlRnbPg9FULRYa/xML6zGxQq2mKm6Atyau17iTct lJpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=shE8AZUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce16si8227925ejb.436.2020.07.03.06.43.52; Fri, 03 Jul 2020 06:44:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=shE8AZUM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726779AbgGCNlV (ORCPT + 99 others); Fri, 3 Jul 2020 09:41:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbgGCNlU (ORCPT ); Fri, 3 Jul 2020 09:41:20 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9455C08C5DD for ; Fri, 3 Jul 2020 06:41:19 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id dr13so34288910ejc.3 for ; Fri, 03 Jul 2020 06:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7uF7g65N0fhkNRDQWLvCnLMIuNK+JZWHI0AnyxJK8Ns=; b=shE8AZUMuHa+plAY8kdqJ26qAxglWyfSH6fdVPYwlmVcDEkh1j5qvjrIp7eKosz+aC dIYm0vFYM6EQarWE6oLSjSqIQXZ/XdjNmF6ijeWHIb0NW6dUA9cyVWIePctQG7+n9wTn OT2EcWhiP253VfIZbu0p6lTC2/SnRSrZ4McxgnQJ4YJEphTSHdYJ+SJ1puzMQbe0ZkW+ iSi6HCpVGvhvrfQ7wwXQaVMsqq0EJi9OXgZ1c+ik+MtmyydS/FtDF/pzV5t7sllg/oBL zRTxMAKK7hR772F5HS3HiJniRdTDt2QTuHQmLs3slrpI3HAyb2xVrvi1uFiQASPj/yos naaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7uF7g65N0fhkNRDQWLvCnLMIuNK+JZWHI0AnyxJK8Ns=; b=qPDNN8erGa//Te9y9NuZSpzWEZyR/EgCkGlFe1mYXXZsLmKqqlQkOF7dVrmbTPeAug b88m2hWIGiwW9VgQf93l/3dmJml0y3jRHFdnvFc6eLaTd2O191dP4J2gXlFl0kSS0iYp 8HmE21bjfry29O9IcYe6XgG2BvXqsD1PeV1i6Q+av8fUqD7RfXKXNx5oFWhb8rsmocn4 Zx9cEFqfR/Nnp/6wg1z7zqTs2xYS3PFA+WbBRz8xBk3G0jgB8emRyVELjj+Fa447EPz2 THdvlKwl/f9umdW8YXuiwQ+ell8Dv/4ktqKenYQt5+2L1hWpk60IqaMxWAj2K3obB1+0 J/Qw== X-Gm-Message-State: AOAM532vAGNE83tBQDtln3DJ8q5aT4lVWdzGPR3F2BItnfNqLyOE1Qs+ nIDKU9DoZZjEHsGAwTtCQCE34qWjBfRJDPzhVAAVuSn52A== X-Received: by 2002:a17:906:456:: with SMTP id e22mr26778131eja.178.1593783678300; Fri, 03 Jul 2020 06:41:18 -0700 (PDT) MIME-Version: 1.0 References: <3eda864fb69977252a061c8c3ccd2d8fcd1f3a9b.1593278952.git.rgb@redhat.com> In-Reply-To: From: Paul Moore Date: Fri, 3 Jul 2020 09:41:07 -0400 Message-ID: Subject: Re: [PATCH ghak124 v3fix] audit: add gfp parameter to audit_log_nfcfg To: Jones Desougi , Richard Guy Briggs Cc: Linux-Audit Mailing List , LKML , netfilter-devel@vger.kernel.org, sgrubb@redhat.com, Ondrej Mosnacek , Florian Westphal , twoerner@redhat.com, Eric Paris , tgraf@infradead.org, dan.carpenter@oracle.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 3, 2020 at 8:41 AM Jones Desougi wrote: > > Doesn't seem entirely consistent now either though. Two cases below. Yes, you're right, that patch was incorrect; thanks for catching that. I just posted a fix (lore link below) that fixes the two problems you pointed out as well as converts a call in a RCU protected section to an ATOMIC. https://lore.kernel.org/linux-audit/159378341669.5956.13490174029711421419.stgit@sifl -- paul moore www.paul-moore.com