netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] constify nf_hook_ops structures
@ 2017-07-29  6:40 Julia Lawall
  2017-07-29  6:40 ` [PATCH 1/2] decnet: dn_rtmsg: " Julia Lawall
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Julia Lawall @ 2017-07-29  6:40 UTC (permalink / raw)
  To: linux-decnet-user
  Cc: bhumirks, kernel-janitors, Pablo Neira Ayuso, Jozsef Kadlecsik,
	Florian Westphal, David S. Miller, netfilter-devel, coreteam,
	netdev, linux-kernel

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(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-29  9:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-29  6:40 [PATCH 0/2] constify nf_hook_ops structures Julia Lawall
2017-07-29  6:40 ` [PATCH 1/2] decnet: dn_rtmsg: " Julia Lawall
2017-07-29  6:40 ` [PATCH 2/2] netfilter: ipt_CLUSTERIP: " Julia Lawall
2017-07-29  8:44 ` [PATCH 0/2] " Florian Westphal
2017-07-29  8:50   ` Julia Lawall
2017-07-29  9:16     ` Florian Westphal
2017-07-29  9:21       ` Julia Lawall
2017-07-29  9:41         ` Florian Westphal
2017-07-29  9:56           ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).