diff --git a/bugfix-routel-shift-bounds-error-due-multicast.patch b/bugfix-routel-shift-bounds-error-due-multicast.patch new file mode 100644 index 0000000..3af36b2 --- /dev/null +++ b/bugfix-routel-shift-bounds-error-due-multicast.patch @@ -0,0 +1,33 @@ +From 74d88fe354864b73504d75aac50606b0e2e155af Mon Sep 17 00:00:00 2001 +From: jiangjixiang +Date: Mon, 19 Feb 2024 11:46:26 +0800 +Subject: [PATCH]Fix the issue of routel command reporting "shift out of bounds" due to multicast routing. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + 1.The routel command is a shell script that displays the kernel routing table obtained from + ip route in a more user-friendly way; + 2.The current routel command does not support multicast routingļ¼› + +Change-Id: Ib128c3a962c9f5b2b861ba8546d5f48258e60384 +--- + ip/routel | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ip/routel b/source/ip/routel +index 7056886..528e7b9 100755 +--- a/ip/routel ++++ b/ip/routel +@@ -25,7 +25,7 @@ ip route list table "$@" | + src="" + table="" + case $network in +- broadcast|local|unreachable) via=$network ++ broadcast|local|unreachable|multicast) via=$network + network=$1 + shift + ;; +-- +2.25.1 + diff --git a/iproute.spec b/iproute.spec index ea6daab..651776d 100644 --- a/iproute.spec +++ b/iproute.spec @@ -1,7 +1,7 @@ #needsrootforbuild Name: iproute Version: 5.5.0 -Release: 17 +Release: 18 Summary: Linux network configuration utilities License: GPLv2+ and Public Domain URL: https://kernel.org/pub/linux/utils/net/iproute2/ @@ -48,6 +48,7 @@ Patch9003: feature-iproute-add-support-for-ipvlan-l2e-mode.patch Patch9004: feature-peer_notify_delay-renamed-to-peer_notif_delay.patch Patch9005: bugfix-iproute-support-assume-default-route.patch Patch9006: bugfix-iproute2-cancel-some-test-cases.patch +Patch9007: bugfix-routel-shift-bounds-error-due-multicast.patch Patch6031: backport-devlink-fix-devlink-health-dump-command-without-arg.patch Patch6032: backport-l2tp-fix-typo-in-AF_INET6-checksum-JSON-print.patch @@ -136,6 +137,13 @@ install -m 0644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a %{_mandir}/* %changelog +* Mon 19 Feb 2024 jiangjixiang - 5.5.0-18 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Fix the issue of multicast causing shift out of bounds in the + routel command report. + * Wed Dec 27 2023 liubo - 5.5.0-17 - Type:bugfix - ID:NA