diff options
| author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2025-05-14 18:22:48 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2025-05-21 09:17:10 -0400 |
| commit | 1947ae04c0d7bd2e23572e88c6515e7843ca8474 (patch) | |
| tree | 573f833013ab409526b51a30e08d251ba3451b8d /meta-oe | |
| parent | 56bca048316237ae872cbaffe54be02656d5ebba (diff) | |
| download | meta-openembedded-1947ae04c0d7bd2e23572e88c6515e7843ca8474.tar.gz | |
iperf3: upgrade 3.16 -> 3.18
License-Update: Copyright year updated to 2024.
Include security update: CVE-2024-26306 and CVE-2024-53580
drop backported patch: do-not-listen-to-old-udp-prot-listener.patch
ChangeLog:
https://github.com/esnet/iperf/releases/tag/3.18
https://github.com/esnet/iperf/releases/tag/3.17.1
https://github.com/esnet/iperf/releases/tag/3.17
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb (renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.16.bb) | 7 |
2 files changed, 3 insertions, 34 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch deleted file mode 100644 index da1664ddcf..0000000000 --- a/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | From ac6b9f7fd335ddebc5212eed40083ef4cd3cb86d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: David Bar-On <david.cdb004@gmail.com> | ||
| 3 | Date: Sun, 2 Jun 2024 11:52:03 +0300 | ||
| 4 | Subject: [PATCH] Do not listen to old pro_listener | ||
| 5 | |||
| 6 | Clear old UDP prot_listener from read_set, as currently the server's select() | ||
| 7 | always return when data (that is relevant only to the worker thread) is | ||
| 8 | received. This makes the main thread consume a lot of unnecessary CPU, which | ||
| 9 | reduces the total throughput - especially when only one stream is used. | ||
| 10 | |||
| 11 | In my single machine environment, with the this fix the throughput is | ||
| 12 | increased by about 40% for one stream test. | ||
| 13 | --- | ||
| 14 | Upstream-Status: Backport [3.18] | ||
| 15 | |||
| 16 | src/iperf_udp.c | 1 + | ||
| 17 | 1 file changed, 1 insertion(+) | ||
| 18 | |||
| 19 | diff --git a/src/iperf_udp.c b/src/iperf_udp.c | ||
| 20 | index a603236df..40f2b1ca7 100644 | ||
| 21 | --- a/src/iperf_udp.c | ||
| 22 | +++ b/src/iperf_udp.c | ||
| 23 | @@ -446,6 +446,7 @@ iperf_udp_accept(struct iperf_test *test) | ||
| 24 | /* | ||
| 25 | * Create a new "listening" socket to replace the one we were using before. | ||
| 26 | */ | ||
| 27 | + FD_CLR(test->prot_listener, &test->read_set); // No control messages from old listener | ||
| 28 | test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->bind_dev, test->server_port); | ||
| 29 | if (test->prot_listener < 0) { | ||
| 30 | i_errno = IESTREAMLISTEN; | ||
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.16.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb index a2cb903562..d3bfc93fe1 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.16.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | |||
| @@ -10,15 +10,14 @@ SECTION = "console/network" | |||
| 10 | BUGTRACKER = "https://github.com/esnet/iperf/issues" | 10 | BUGTRACKER = "https://github.com/esnet/iperf/issues" |
| 11 | 11 | ||
| 12 | LICENSE = "BSD-3-Clause" | 12 | LICENSE = "BSD-3-Clause" |
| 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc6301c8256ceb8f71c9e3c2ae9096b9" | 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f9873a72f714e240530e759e103ac7b2" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ | 15 | SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ |
| 16 | file://0002-Remove-pg-from-profile_CFLAGS.patch \ | 16 | file://0002-Remove-pg-from-profile_CFLAGS.patch \ |
| 17 | file://0001-configure.ac-check-for-CPP-prog.patch \ | 17 | file://0001-configure.ac-check-for-CPP-prog.patch \ |
| 18 | file://do-not-listen-to-old-udp-prot-listener.patch \ | 18 | " |
| 19 | " | ||
| 20 | 19 | ||
| 21 | SRCREV = "f9481e1cd35159929458513692e4a8f9fdd1bd6f" | 20 | SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" |
| 22 | 21 | ||
| 23 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
| 24 | 23 | ||
