Re: [PATCH nf-next,1/4] netfilter: conntrack: don't cache nlattr_tuple_size result in nla_size

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

 



On Sat, Nov 02, 2017 at 18:41:09PM +0100, Florian Westphal wrote:
> We currently call ->nlattr_tuple_size() once at register time and
> cache result in l4proto->nla_size.
>
> nla_size is the only member that is written to, avoiding this would
> allow to make l4proto trackers const.
>
> We can use ->nlattr_tuple_size() at run time, and cache result in
> the individual trackers instead.
>
> This is an intermediate step, next patch removes nlattr_size()
> callback and computes size at compile time, then removes nla_size.

Florian, I can only see this one in this series via patchwork:

http://patchwork.ozlabs.org/patch/833477/

Please, resend the three remaining patches so I can apply them.

Sorry for the inconvenience.
--
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