From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Laura Garcia Liebana <nevola@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH v3 nft 1/4] src: make hash seed attribute optional
Date: Wed, 9 Nov 2016 00:22:42 +0100 [thread overview]
Message-ID: <20161108232242.GA32040@salvia> (raw)
In-Reply-To: <20161104125927.GA20394@sonyv>
On Fri, Nov 04, 2016 at 01:59:31PM +0100, Laura Garcia Liebana wrote:
> The hash expression requires a seed attribute to call the jhash
> operation, eg.
>
> # nft add rule x y meta mark set jhash ip saddr . ip daddr mod 2 \
> seed 0xdeadbeef
>
> With this patch the seed attribute is optional and it's generated by a
> random function from userspace, eg.
>
> # nft add rule x y meta mark set jhash ip saddr . ip daddr mod 2
>
> The kernel will take care of generate a random seed.
Applied, thanks Laura.
prev parent reply other threads:[~2016-11-08 23:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-04 12:59 [PATCH v3 nft 1/4] src: make hash seed attribute optional Laura Garcia Liebana
2016-11-08 23:22 ` 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=20161108232242.GA32040@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