No need to restrict this to module parameter.
We export a copy of the real hash size -- when user alters the value we
allocate the new table, copy entries etc before we update the real size
to the requested one.
This is also needed because the real size is used by concurrent readers
and cannot be
Hi Florian,
2016-06-22 2:46 GMT+08:00 Florian Westphal :
> @@ -1650,11 +1646,31 @@ int nf_conntrack_set_hashsize(const char *val, struct
> kernel_param *kp)
> write_seqcount_end(&nf_conntrack_generation);
> nf_conntrack_all_unlock();
> local_bh_enable();
> + synchron