netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/4] netfilter: conntrack: make l4 tracker structs const
@ 2017-11-02 18:41 Florian Westphal
  2017-11-02 18:41 ` [PATCH nf-next 1/4] netfilter: conntrack: don't cache nlattr_tuple_size result in nla_size Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Florian Westphal @ 2017-11-02 18:41 UTC (permalink / raw)
  To: netfilter-devel

This patch set removes the last runtime write accesses to the l4
protocol tracker structs, then marks them as 'const'.

 include/net/netfilter/ipv4/nf_conntrack_ipv4.h |   12 +++++------
 include/net/netfilter/ipv6/nf_conntrack_ipv6.h |   12 +++++------
 include/net/netfilter/nf_conntrack_l4proto.h   |   23 ++++++++++-----------
 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c |    2 -
 net/ipv4/netfilter/nf_conntrack_proto_icmp.c   |   11 +++++++---
 net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c |    2 -
 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c |   11 +++++++---
 net/netfilter/nf_conntrack_core.c              |    9 ++++++--
 net/netfilter/nf_conntrack_netlink.c           |   12 +++++++----
 net/netfilter/nf_conntrack_proto.c             |   20 ++++++------------
 net/netfilter/nf_conntrack_proto_dccp.c        |   21 +++++++++----------
 net/netfilter/nf_conntrack_proto_generic.c     |    2 -
 net/netfilter/nf_conntrack_proto_gre.c         |    2 -
 net/netfilter/nf_conntrack_proto_sctp.c        |   19 ++++++++---------
 net/netfilter/nf_conntrack_proto_tcp.c         |   27 ++++++++++++++-----------
 net/netfilter/nf_conntrack_proto_udp.c         |    8 +++----
 16 files changed, 104 insertions(+), 89 deletions(-)


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

end of thread, other threads:[~2017-11-06 15:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 18:41 [PATCH nf-next 0/4] netfilter: conntrack: make l4 tracker structs const Florian Westphal
2017-11-02 18:41 ` [PATCH nf-next 1/4] netfilter: conntrack: don't cache nlattr_tuple_size result in nla_size Florian Westphal
2017-11-06 15:18   ` [PATCH nf-next,1/4] " Pablo Neira Ayuso
2017-11-02 18:41 ` [PATCH nf-next 2/4] netfilter: conntrack: remove nlattr_size pointer from l4proto trackers Florian Westphal
2017-11-02 18:41 ` [PATCH nf-next 3/4] netfilter: conntrack: constify list of builtin trackers Florian Westphal
2017-11-02 18:41 ` [PATCH nf-next 4/4] netfilter: conntrack: l4 protocol trackers can be const Florian Westphal

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