[PATCH nf-next 0/7] netfilter: conntrack: constify protocol trackers, part 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux