bpf-headers: fix use of netlink.h header
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 18 Jan 2023 19:44:56 +0000 (20:44 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 1 May 2024 17:11:33 +0000 (19:11 +0200)
commitdfcc0ff5d2bf6eb7c6ad7621c61c896e69ff8103
treece3760d74614a474948e68c556b15c99b917036c
parentb6f1e2e5b08eccf23b28c80690d14a3ac6cd08e2
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]