Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 036c6940 authored by Florian Westphal's avatar Florian Westphal Committed by Pablo Neira Ayuso
Browse files

netfilter: conntrack: reduce size of l4protocol trackers



can use u16 for both, shrinks size by another 8 bytes.

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 09ec82f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -92,12 +92,12 @@ struct nf_conntrack_l4proto {

#if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT)
	struct {
		size_t obj_size;
		int (*nlattr_to_obj)(struct nlattr *tb[],
				     struct net *net, void *data);
		int (*obj_to_nlattr)(struct sk_buff *skb, const void *data);

		unsigned int nlattr_max;
		u16 obj_size;
		u16 nlattr_max;
		const struct nla_policy *nla_policy;
	} ctnl_timeout;
#endif