netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/7] netfilter: conntrack: constify protocol trackers, part 1
@ 2017-08-11 22:57 Florian Westphal
  2017-08-11 22:57 ` [PATCH nf-next 1/7] netfilter: conntrack: compute l3proto nla size at compile time Florian Westphal
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Florian Westphal @ 2017-08-11 22:57 UTC (permalink / raw)
  To: netfilter-devel

This is an initial series of patches to mark the l3 and l4 protocol handler
structs as const.

Only reason why we can't constify them now is that l3 and l4 trackers
compute netlink attribute size needed at init time and store result in
the proto struct.

First patch switches the l3 trackers to compile-time computation.

Next patches reduce size by (re)moving various pointers.

Last patch adds const qualifiers in a lot of places.  This patch
has no effect on its own but its needed to avoid compiler warnings
when part 2 of the series will constify the trackers.


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

end of thread, other threads:[~2017-08-24 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 22:57 [PATCH nf-next 0/7] netfilter: conntrack: constify protocol trackers, part 1 Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 1/7] netfilter: conntrack: compute l3proto nla size at compile time Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 2/7] netfilter: conntrack: remove protocol name from l3proto struct Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 3/7] netfilter: conntrack: remove protocol name from l4proto struct Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 4/7] netfilter: conntrack: reduce size of l4protocol trackers Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 5/7] netfilter: conntrack: place print_tuple in procfs part Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 6/7] netfilter: conntrack: print_conntrack only needed if CONFIG_NF_CONNTRACK_PROCFS Florian Westphal
2017-08-11 22:57 ` [PATCH nf-next 7/7] netfilter: conntrack: make protocol tracker pointers const Florian Westphal
2017-08-24 16:52 ` [PATCH nf-next 0/7] netfilter: conntrack: constify protocol trackers, part 1 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).