Commit 48d80c39 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

net: skbuff: hide nf_trace and ipvs_property

Accesses to nf_trace and ipvs_property are already wrapped
by ifdefs where necessary. Don't allocate the bits for those
fields at all if possible.
Acked-by: default avatarFlorian Westphal <fw@strlen.de>
Acked-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4c60d04c
...@@ -966,8 +966,12 @@ struct sk_buff { ...@@ -966,8 +966,12 @@ struct sk_buff {
__u8 ndisc_nodetype:2; __u8 ndisc_nodetype:2;
#endif #endif
#if IS_ENABLED(CONFIG_IP_VS)
__u8 ipvs_property:1; __u8 ipvs_property:1;
#endif
#if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES)
__u8 nf_trace:1; __u8 nf_trace:1;
#endif
#ifdef CONFIG_NET_SWITCHDEV #ifdef CONFIG_NET_SWITCHDEV
__u8 offload_fwd_mark:1; __u8 offload_fwd_mark:1;
__u8 offload_l3_fwd_mark:1; __u8 offload_l3_fwd_mark:1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment