Daniel Borkmann <[email protected]> wrote:
> >+    case NFT_META_PRANDOM:
> >+            if (!prand_inited) {
> >+                    prandom_seed_full_state(&nft_prandom_state);
> >+                    prand_inited = true;
> >+            }
> 
> Should this be: prandom_init_once() ?

Thought about that but this is slowpath so I considered
the use of static key magic a bit overkill....

I don't mind, if you think prandom_init_once is prefereable I'll respin.

Let me know, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to