net: skbuff: hide wifi_acked when CONFIG_WIRELESS not set
authorJakub Kicinski <kuba@kernel.org>
Mon, 17 Apr 2023 15:53:46 +0000 (08:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 12:04:30 +0000 (13:04 +0100)
commiteb6fba7555a812c07aa984fb9e8e9b151a65ca16
tree1f546040f090a9204d748ab6f4458837ae2e27f1
parent4edd97fbdc23e917ef0787dbf0ccc543b400bb34
net: skbuff: hide wifi_acked when CONFIG_WIRELESS not set

Datacenter kernel builds will very likely not include WIRELESS,
so let them shave 2 bits off the skb by hiding the wifi fields.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/sock.h
net/core/skbuff.c
net/socket.c