bpf-headers: fix use of netlink.h header
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 18 Jan 2023 19:44:56 +0000 (20:44 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 5 Jun 2024 19:43:09 +0000 (15:43 -0400)
commitada1398ebd26a0b933abc83e0721e08f43df6cd5
treeac7fc2e05687f37f4750c219a6a71bbadfc2b91d
parent7c528be2f2fbf63f0f958487b639eed074a40419
bpf-headers: fix use of netlink.h header

netlink.h header have NL_SET_ERR_MSG_MOD that is tied to kmods. We don't
need kmods on bpf tools and this cause compilation error if the header
is included. Fix it by dropping NL_SET_ERR_MSG_MOD.

Link: https://github.com/openwrt/openwrt/pull/11825
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/bpf-headers/patches/101-linux-netlink-drop-NL_SET_ERR_MSG-for-kernel-modules.patch [new file with mode: 0644]
package/kernel/bpf-headers/patches/102-net-flow_offload-use-NL_SET_ERR_MSG-instead-of-NL_SE.patch [new file with mode: 0644]