netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 nf-next 0/3] netfilter: conntrack: make l4 tracker structs const
@ 2017-11-07  6:20 Florian Westphal
  2017-11-07  6:20 ` [PATCH v2 nf-next 1/3] netfilter: conntrack: remove nlattr_size pointer from l4proto trackers Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Westphal @ 2017-11-07  6:20 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'.

Resending, seems only first patchi (not resent) made it to
list/patchwork.

 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   |   19 +++++++++----------
 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c |    2 +-
 net/ipv4/netfilter/nf_conntrack_proto_icmp.c   |    2 +-
 net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c |    2 +-
 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c |    2 +-
 net/netfilter/nf_conntrack_netlink.c           |    2 +-
 net/netfilter/nf_conntrack_proto.c             |   18 +++++++-----------
 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         |   20 ++++++++++----------
 net/netfilter/nf_conntrack_proto_udp.c         |    8 ++++----
 15 files changed, 68 insertions(+), 75 deletions(-)


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

end of thread, other threads:[~2017-11-13 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-07  6:20 [PATCH v2 nf-next 0/3] netfilter: conntrack: make l4 tracker structs const Florian Westphal
2017-11-07  6:20 ` [PATCH v2 nf-next 1/3] netfilter: conntrack: remove nlattr_size pointer from l4proto trackers Florian Westphal
2017-11-07  6:20 ` [PATCH v2 nf-next 2/3] netfilter: conntrack: constify list of builtin trackers Florian Westphal
2017-11-07  6:20 ` [PATCH v2 nf-next 3/3] netfilter: conntrack: l4 protocol trackers can be const Florian Westphal
2017-11-13 12:45 ` [PATCH v2 nf-next 0/3] netfilter: conntrack: make l4 tracker structs const Pablo Neira Ayuso

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