]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Fix linux/in.h header dependencies
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 2 Nov 2022 18:25:16 +0000 (11:25 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 3 Nov 2022 12:44:46 +0000 (13:44 +0100)
commit45470a30a7a9513fafe43f13ec638af7335feeb6
tree3d9f34c5a16d124b924257383c411be2f0eb0b85
parent5558105a1234571547648a26cdf00888624fcb92
net/ipv4: Fix linux/in.h header dependencies

__DECLARE_FLEX_ARRAY is defined in include/uapi/linux/stddef.h but
doesn't seem to be explicitly included from include/uapi/linux/in.h,
which breaks BPF selftests builds (once we sync linux/stddef.h into
tools/include directory in the next patch). Fix this by explicitly
including linux/stddef.h.

Given this affects BPF CI and bpf tree, targeting this for bpf tree.

Fixes: a6be9a6f8216 ("net/ipv4: Use __DECLARE_FLEX_ARRAY() helper")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/bpf/20221102182517.2675301-1-andrii@kernel.org
include/uapi/linux/in.h