Re: [PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops

From: Florian Westphal
Date: Sat Aug 26 2017 - 06:49:00 EST


Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
> nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks
> and nf_unregister_net_hooks are working with const nf_hook_ops.
> So mark the non-const nf_hook_ops structs as const.

please update your nf-next tree, all nf_hook_ops are suppoed
to be const already.