From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Laura Garcia Liebana <nevola@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf] netfilter: fix symhash with modulus one
Date: Tue, 16 Jul 2019 13:24:01 +0200 [thread overview]
Message-ID: <20190716112401.tutvnmskzbuksdr7@salvia> (raw)
In-Reply-To: <20190715112337.gobsm3ljlmgtarnf@nevthink>
On Mon, Jul 15, 2019 at 01:23:37PM +0200, Laura Garcia Liebana wrote:
> The rule below doesn't work as the kernel raises -ERANGE.
>
> nft add rule netdev nftlb lb01 ip daddr set \
> symhash mod 1 map { 0 : 192.168.0.10 } fwd to "eth0"
>
> This patch allows to use the symhash modulus with one
> element, in the same way that the other types of hashes and
> algorithms that uses the modulus parameter.
Applied, thanks Laura.
prev parent reply other threads:[~2019-07-16 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-15 11:23 [PATCH nf] netfilter: fix symhash with modulus one Laura Garcia Liebana
2019-07-16 11:24 ` Pablo Neira Ayuso [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=20190716112401.tutvnmskzbuksdr7@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=nevola@gmail.com \
/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).