net: use .data.once section in netdev_level_once()
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 17:23:02 +0000 (09:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:07:53 +0000 (19:07 -0800)
commit7071732c26fe2cf141185ed16a8a85d02495ae8c
treec5fe44d41544dfe195c3bf58b70068ea27571e60
parentc2c60ea37e5b6be58c9dd7aff0b2e86ba0f18e0b
net: use .data.once section in netdev_level_once()

Same rationale than prior patch : using the dedicated
section avoid holes and pack all these bool values.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h