netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org, anton.khazan@gmail.com
Subject: Re: [nft PATCH] cache: Optimize caching for 'list tables' command
Date: Wed, 7 Feb 2024 19:20:16 +0100	[thread overview]
Message-ID: <ZcPJ4PFxG3-Biumc@orbyte.nwl.cc> (raw)
In-Reply-To: <20240207164835.32723-1-phil@nwl.cc>

On Wed, Feb 07, 2024 at 05:48:35PM +0100, Phil Sutter wrote:
> No point in fetching anything other than existing tables from kernel:
> 'list tables' merely prints existing table names, no contents.
> 
> Also populate filter's family field to reduce overhead when listing
> tables in one family with many tables in another one. It works without
> further adjustments because nftnl_nlmsg_build_hdr() will use the value
> for nfgen_family.
> 
> Reported-by: anton.khazan@gmail.com
> Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1735
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Patch applied.

      reply	other threads:[~2024-02-07 18:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 16:48 [nft PATCH] cache: Optimize caching for 'list tables' command Phil Sutter
2024-02-07 18:20 ` Phil Sutter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZcPJ4PFxG3-Biumc@orbyte.nwl.cc \
    --to=phil@nwl.cc \
    --cc=anton.khazan@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).