Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.18.0
@ 2022-07-26 19:41 Petr Vorel
  2022-07-26 19:59 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2022-07-26 19:41 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Yann E . MORIN

From: Petr Vorel <petr.vorel@gmail.com>

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Tested with test-pkg.

 .../0001-bpf_glue-include-errno.h.patch       | 32 +++++++++++++++++++
 package/iproute2/iproute2.hash                |  2 +-
 package/iproute2/iproute2.mk                  |  2 +-
 3 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 package/iproute2/0001-bpf_glue-include-errno.h.patch

diff --git a/package/iproute2/0001-bpf_glue-include-errno.h.patch b/package/iproute2/0001-bpf_glue-include-errno.h.patch
new file mode 100644
index 0000000000..4273c044ad
--- /dev/null
+++ b/package/iproute2/0001-bpf_glue-include-errno.h.patch
@@ -0,0 +1,32 @@
+From f8decf82af07591833f89004e9b72cc39c1b5c52 Mon Sep 17 00:00:00 2001
+From: Juhee Kang <claudiajkang@gmail.com>
+Date: Tue, 19 Jul 2022 00:58:27 +0900
+Subject: [PATCH] bpf_glue: include errno.h
+
+If __NR_bpf is not enabled, bpf() function set errno and return -1. Thus,
+this patch includes the header.
+
+Fixes: ac4e0913beb1 ("bpf: Export bpf syscall wrapper")
+Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
+Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
+
+[ upstream status: f8decf82af07591833f89004e9b72cc39c1b5c52 ]
+---
+ lib/bpf_glue.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/bpf_glue.c b/lib/bpf_glue.c
+index c1cf351b..88a24751 100644
+--- a/lib/bpf_glue.c
++++ b/lib/bpf_glue.c
+@@ -7,6 +7,7 @@
+ #include <sys/syscall.h>
+ #include <limits.h>
+ #include <unistd.h>
++#include <errno.h>
+ 
+ #include "bpf_util.h"
+ #ifdef HAVE_LIBBPF
+-- 
+2.37.1
+
diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash
index eafe7a6c9a..2bb1ddbc72 100644
--- a/package/iproute2/iproute2.hash
+++ b/package/iproute2/iproute2.hash
@@ -1,3 +1,3 @@
 # From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc
-sha256  6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e  iproute2-5.17.0.tar.xz
+sha256  5ba3d464d51c8c283550d507ffac3d10f7aec587b7c66b0ccb6950643646389e  iproute2-5.18.0.tar.xz
 sha256  e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4  COPYING
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 8ecde069f5..b9347ed367 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-IPROUTE2_VERSION = 5.17.0
+IPROUTE2_VERSION = 5.18.0
 IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz
 IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
 IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \
-- 
2.36.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.18.0
  2022-07-26 19:41 [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.18.0 Petr Vorel
@ 2022-07-26 19:59 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-26 19:59 UTC (permalink / raw)
  To: Petr Vorel; +Cc: James Hilliard, Yann E . MORIN, buildroot

On Tue, 26 Jul 2022 21:41:29 +0200
Petr Vorel <pevik@seznam.cz> wrote:

> From: Petr Vorel <petr.vorel@gmail.com>
> 
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> Tested with test-pkg.

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-26 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-26 19:41 [Buildroot] [PATCH 1/1] package/iproute2: bump version to 5.18.0 Petr Vorel
2022-07-26 19:59 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox