Re: [PATCH -next v2] netfilter: conntrack: allow increasing bucket size via sysctl too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Florian,

2016-06-22 2:46 GMT+08:00 Florian Westphal <fw@xxxxxxxxx>:
> @@ -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();
> +       synchronize_net();

synchronize_net()  call here is redundant?

>
>         synchronize_net();
>         nf_ct_free_hashtable(old_hash, old_size);
>         return 0;
>  }

And according to your patch version 1, it seems that you missed to update the
Documentation/networking/nf_conntrack-sysctl.txt this time.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux