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=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 66AF7C74A4B for ; Thu, 11 Jul 2019 08:08:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D6F520838 for ; Thu, 11 Jul 2019 08:08:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="TGPYsk/R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728028AbfGKII3 (ORCPT ); Thu, 11 Jul 2019 04:08:29 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38304 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728001AbfGKII3 (ORCPT ); Thu, 11 Jul 2019 04:08:29 -0400 Received: by mail-wm1-f68.google.com with SMTP id s15so4709577wmj.3 for ; Thu, 11 Jul 2019 01:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FjI8zT9BaBhenvixFKkuibZ0s0HWhdFYdb6AGhH4zHQ=; b=TGPYsk/RMY0LJIGAG95XOlfHDTwUcZ4vj/muqYNitv6gRNGbDMU49279Psune3J7Lu 5Db0pVbsXcBLQU5KZvBjhqoksZKkQZW/5HcCUjE6iARrO4ajth4YcjaeyK81Snw0qAg6 LEKmwH0OaVqGx3qSUvWBFWvcb8lEFUU7krs7SDwqy6V29al0rQraZm0FofkUCKAYedLH x2TZLNZL3AOrGICYIsmn/SrpmNlUp+BPyKfxLinoJN/Q7Evtz46+u2gkjxmfMMWH/2bs trnjM9oXbXhEGUPqHEk+DIPaFhxwWeYnaGqQ10HEoNg4/Mv0w518gj6iy/JFs5H+OXug wW5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FjI8zT9BaBhenvixFKkuibZ0s0HWhdFYdb6AGhH4zHQ=; b=Al/xaBJ9q6jBZfw3e55SoZHn0di6dI6kBtBodw/TYLf1ijam8eOBOVeJHWfQlqtLCX Mvt5wvj8fPdQp31q1uMOJ4H6C86JXJqHzsRoq0nA60qDnKlkQkYI9bHL3JTGSSWsmtFV mIfnoIOxqkYKdLj9s2sd+dB5StrQBuf2WaUHsVD2iHHIPWXC4Qw4F9JB2dG8OLgOJGDr WcpbwYhtGNNijbKf0hTbYBao0Fo7XHiIKKqbXsqiuRJnqtUB17gGiq1m6DQLqtrNlIcK hyP76YQP/7QVBbUagkIEVmtcHFQ+bM/RDVJiPy85LSejF5p40k9ge5qyWGQbHZuCYvyk Exhw== X-Gm-Message-State: APjAAAXeY8z/KErLi3G7BEIAy417d8PdPmOmqhv7FPMCXrt19dPqXxh8 Q7ufieXjyNz7/ER9H7jZPW4= X-Google-Smtp-Source: APXvYqx0j0ILJ/qZZ8/PzjikPH4K+IX3CWl3P0keVoaHEz/oMM+Is4QJBZY4agD2TINyBYxr/u9AUQ== X-Received: by 2002:a1c:f418:: with SMTP id z24mr2648264wma.80.1562832507573; Thu, 11 Jul 2019 01:08:27 -0700 (PDT) Received: from localhost (ip-89-176-1-116.net.upcbroadband.cz. [89.176.1.116]) by smtp.gmail.com with ESMTPSA id v15sm4767154wrt.25.2019.07.11.01.08.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 01:08:27 -0700 (PDT) Date: Thu, 11 Jul 2019 10:08:26 +0200 From: Jiri Pirko To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org, jakub.kicinski@netronome.com Subject: Re: [PATCH net-next 1/3] net: flow_offload: remove netns parameter from flow_block_cb_alloc() Message-ID: <20190711080826.GH2291@nanopsycho> References: <20190711001235.20686-1-pablo@netfilter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711001235.20686-1-pablo@netfilter.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Thu, Jul 11, 2019 at 02:12:33AM CEST, pablo@netfilter.org wrote: >No need to annotate the netns on the flow block callback object, >flow_block_cb_is_busy() already checks for used blocks. > >Fixes: d63db30c8537 ("net: flow_offload: add flow_block_cb_alloc() and flow_block_cb_free()") >Signed-off-by: Pablo Neira Ayuso Acked-by: Jiri Pirko