Arvind Yadav <arvind.yadav...@gmail.com> 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.