diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2024-09-29 07:06:36 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-29 10:01:08 -0700 |
commit | d91297efeebb5731d15179c0541e336cfe3edf71 (patch) | |
tree | e3257099b3dcedd806d2d4152ad54e02b4d275c4 /meta-networking | |
parent | 0a2b230d5c1f7897d6c643c282731880a9726ba3 (diff) | |
download | meta-openembedded-d91297efeebb5731d15179c0541e336cfe3edf71.tar.gz |
libnetfilter-conntrack: upgrade 1.0.9 -> 1.1.0
* Drop backport patch
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch | 61 | ||||
-rw-r--r-- | meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb (renamed from meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb) | 6 |
2 files changed, 2 insertions, 65 deletions
diff --git a/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch b/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch deleted file mode 100644 index a02940af3d..0000000000 --- a/meta-networking/recipes-filter/libnetfilter/files/0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From 21ee35dde73aec5eba35290587d479218c6dd824 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Marko <robimarko@gmail.com> | ||
3 | Date: Thu, 24 Feb 2022 15:01:11 +0100 | ||
4 | Subject: [PATCH] conntrack: fix build with kernel 5.15 and musl | ||
5 | |||
6 | Currently, with kernel 5.15 headers and musl building is failing with | ||
7 | redefinition errors due to a conflict between the kernel and musl headers. | ||
8 | |||
9 | Musl is able to suppres the conflicting kernel header definitions if they | ||
10 | are included after the standard libc ones, however since ICMP definitions | ||
11 | were moved into a separate internal header to avoid duplication this has | ||
12 | stopped working and is breaking the builds. | ||
13 | |||
14 | It seems that the issue is that <netinet/in.h> which contains the UAPI | ||
15 | suppression defines is included in the internal.h header and not in the | ||
16 | proto.h which actually includes the kernel ICMP headers and thus UAPI | ||
17 | supression defines are not present. | ||
18 | |||
19 | Solve this by moving the <netinet/in.h> include before the ICMP kernel | ||
20 | includes in the proto.h | ||
21 | |||
22 | Fixes: bc1cb4b11403 ("conntrack: Move icmp request>reply type mapping to common file") | ||
23 | Signed-off-by: Robert Marko <robimarko@gmail.com> | ||
24 | Signed-off-by: Florian Westphal <fw@strlen.de> | ||
25 | |||
26 | Upstream-Status: Backport | ||
27 | [https://git.netfilter.org/libnetfilter_conntrack/commit/?id=21ee35dde73aec5eba35290587d479218c6dd824] | ||
28 | |||
29 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
30 | --- | ||
31 | include/internal/internal.h | 1 - | ||
32 | include/internal/proto.h | 1 + | ||
33 | 2 files changed, 1 insertion(+), 1 deletion(-) | ||
34 | |||
35 | diff --git a/include/internal/internal.h b/include/internal/internal.h | ||
36 | index 2ef8a90..7cd7c44 100644 | ||
37 | --- a/include/internal/internal.h | ||
38 | +++ b/include/internal/internal.h | ||
39 | @@ -14,7 +14,6 @@ | ||
40 | #include <arpa/inet.h> | ||
41 | #include <time.h> | ||
42 | #include <errno.h> | ||
43 | -#include <netinet/in.h> | ||
44 | |||
45 | #include <libnfnetlink/libnfnetlink.h> | ||
46 | #include <libnetfilter_conntrack/libnetfilter_conntrack.h> | ||
47 | diff --git a/include/internal/proto.h b/include/internal/proto.h | ||
48 | index 40e7bfe..60a5f4e 100644 | ||
49 | --- a/include/internal/proto.h | ||
50 | +++ b/include/internal/proto.h | ||
51 | @@ -2,6 +2,7 @@ | ||
52 | #define _NFCT_PROTO_H_ | ||
53 | |||
54 | #include <stdint.h> | ||
55 | +#include <netinet/in.h> | ||
56 | #include <linux/icmp.h> | ||
57 | #include <linux/icmpv6.h> | ||
58 | |||
59 | -- | ||
60 | 2.25.1 | ||
61 | |||
diff --git a/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb b/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb index abec84b256..83533832d4 100644 --- a/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.0.9.bb +++ b/meta-networking/recipes-filter/libnetfilter/libnetfilter-conntrack_1.1.0.bb | |||
@@ -6,12 +6,10 @@ LICENSE = "GPL-2.0-or-later" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
7 | DEPENDS = "libnfnetlink libmnl" | 7 | DEPENDS = "libnfnetlink libmnl" |
8 | 8 | ||
9 | SRC_URI = "https://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${PV}.tar.bz2 \ | 9 | SRC_URI = "https://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-${PV}.tar.xz \ |
10 | file://0001-conntrack-fix-build-with-kernel-5.15-and-musl.patch \ | ||
11 | " | 10 | " |
12 | 11 | ||
13 | SRC_URI[md5sum] = "596c722733cdf30f24d4418f34f999d9" | 12 | SRC_URI[sha256sum] = "67edcb4eb826c2f8dc98af08dabff68f3b3d0fe6fb7d9d0ac1ee7ecce0fe694e" |
14 | SRC_URI[sha256sum] = "67bd9df49fe34e8b82144f6dfb93b320f384a8ea59727e92ff8d18b5f4b579a8" | ||
15 | 13 | ||
16 | S = "${WORKDIR}/libnetfilter_conntrack-${PV}" | 14 | S = "${WORKDIR}/libnetfilter_conntrack-${PV}" |
17 | 15 | ||