Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: darius <dram@mailbox.org>
Cc: "Florian Westphal" <fw@strlen.de>, ѽ҉ᶬḳ℠ <vtol@gmx.net>,
	"netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: Metering is not working with dynamic sets on nft v0.9.2
Date: Sat, 8 Feb 2020 23:15:22 +0100	[thread overview]
Message-ID: <20200208221522.GD2991@breakpoint.cc> (raw)
In-Reply-To: <6be894ad-b817-6c14-365c-21d068eaa261@mailbox.org>

darius <dram@mailbox.org> wrote:
> I have checked link provided by you. This patch is already implemented
> on 4.14 kernel that runs on OpenWRT, but that does not help with the
> error. I still have fault.
> Any other ideas where to check? Just would be nice to find where is problem.

No.  If you know some C, edit net/netfilter/nf_tables.c, search for
nft_select_set_ops() and check which set type is picked.

ops needs to be "nft_set_rhash_type", thats the only one where
ops->update is non-NULL.

      reply	other threads:[~2020-02-08 22:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06 22:42 Metering is not working with dynamic sets on nft v0.9.2 darius
2020-02-07  9:48 ` ѽ҉ᶬḳ℠
2020-02-07 10:17   ` Florian Westphal
2020-02-07 11:00     ` Darius
2020-02-07 11:06       ` Florian Westphal
2020-02-07 11:08         ` Darius
2020-02-08 21:49         ` darius
2020-02-08 22:15           ` Florian Westphal [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=20200208221522.GD2991@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=dram@mailbox.org \
    --cc=netfilter@vger.kernel.org \
    --cc=vtol@gmx.net \
    /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