Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720627

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

From Florian Westphal <fw@strlen.de>
Newsgroups linux.kernel
Subject Re: [PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops
Date 2017-08-26 12:50 +0200
Message-ID <uiGP8-8wn-13@gated-at.bofh.it> (permalink)
References <uiGP7-8wn-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-26 12:50 +0200
  Re: [PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops Florian Westphal <fw@strlen.de> - 2017-08-26 12:50 +0200

csiph-web