Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1699247
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] constify nf_hook_ops structures |
| Date | 2017-07-29 09:10 +0200 |
| Message-ID | <u8u2R-7fd-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The nf_hook_ops structure is only passed as the second argument to nf_register_net_hook or nf_unregister_net_hook, both of which are declared as const. Thus the nf_hook_ops structure itself can be const. Done with the help of Coccinelle. --- net/decnet/netfilter/dn_rtmsg.c | 2 +- net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] constify nf_hook_ops structures Julia Lawall <Julia.Lawall@lip6.fr> - 2017-07-29 09:10 +0200
[PATCH 1/2] decnet: dn_rtmsg: constify nf_hook_ops structures Julia Lawall <Julia.Lawall@lip6.fr> - 2017-07-29 09:10 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Florian Westphal <fw@strlen.de> - 2017-07-29 10:50 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Julia Lawall <julia.lawall@lip6.fr> - 2017-07-29 11:00 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Florian Westphal <fw@strlen.de> - 2017-07-29 11:20 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Julia Lawall <julia.lawall@lip6.fr> - 2017-07-29 11:30 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Florian Westphal <fw@strlen.de> - 2017-07-29 11:50 +0200
Re: [PATCH 0/2] constify nf_hook_ops structures Julia Lawall <julia.lawall@lip6.fr> - 2017-07-29 12:00 +0200
csiph-web