Projects
Mega:23.03
iproute
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:iproute.spec
Changed
@@ -2,7 +2,7 @@ Name: iproute Version: 6.1.0 Epoch: 1 -Release: 6 +Release: 7 Summary: Linux network configuration utilities License: GPLv2+ and Public Domain URL: https://kernel.org/pub/linux/utils/net/iproute2/ @@ -12,7 +12,6 @@ Patch2: bugfix-iproute2-change-proc-to-ipnetnsproc-which-is-private.patch Patch3: backport-testsuite-fix-testsuite-build-failure-when-iproute-b.patch -Patch9000: feature-iproute-add-support-for-ipvlan-l2e-mode.patch Patch9001: bugfix-iproute2-cancel-some-test-cases.patch BuildRequires: gcc bison elfutils-libelf-devel flex iptables-devel @@ -89,6 +88,12 @@ %{_mandir}/* %changelog +* Mon Mar 20 2023 gaoxingwang <gaoxingwang1@huawei.com> - 1:6.1.0-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:delete l2e mode because kernel does not support it + * Sat Feb 25 2023 jiangheng <jiangheng14@huawei.com> - 1:6.1.0-6 - Type:bugfix - ID:NA
View file
_service:tar_scm:feature-iproute-add-support-for-ipvlan-l2e-mode.patch
Deleted
@@ -1,56 +0,0 @@ -From 3ea7f5ac296ee5c19459c2bf00fecf98f552a1c5 Mon Sep 17 00:00:00 2001 -From: Feilong Lin <linfeilong@huawei.com> -Date: Mon, 2 Mar 2020 20:52:06 +0800 - ---- - include/uapi/linux/if_link.h | 2 +- - ip/iplink_ipvlan.c | 10 +++++----- - 2 files changed, 6 insertions(+), 6 deletions(-) -diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h -index 1d4ed60..bddbdc7 100644 ---- a/include/uapi/linux/if_link.h -+++ b/include/uapi/linux/if_link.h -@@ -702,6 +702,7 @@ enum { - enum ipvlan_mode { - IPVLAN_MODE_L2 = 0, - IPVLAN_MODE_L3, -+ IPVLAN_MODE_L2E, - IPVLAN_MODE_L3S, - IPVLAN_MODE_MAX - }; -diff --git a/ip/iplink_ipvlan.c b/ip/iplink_ipvlan.c -index baae767..6de3138 100644 ---- a/ip/iplink_ipvlan.c -+++ b/ip/iplink_ipvlan.c -@@ -23,7 +23,7 @@ static void print_explain(struct link_util *lu, FILE *f) - fprintf(f, - "Usage: ... %s mode MODE FLAGS \n" - "\n" -- "MODE: l3 | l3s | l2\n" -+ "MODE: l3 | l2e | l3s | l2\n" - "FLAGS: bridge | private | vepa\n" - "(first values are the defaults if nothing is specified).\n", - lu->id); -@@ -47,8 +47,10 @@ static int ipvlan_parse_opt(struct link_util *lu, int argc, char **argv, - mode = IPVLAN_MODE_L3; - else if (strcmp(*argv, "l3s") == 0) - mode = IPVLAN_MODE_L3S; -+ else if (strcmp(*argv, "l2e") == 0) -+ mode = IPVLAN_MODE_L2E; - else { -- fprintf(stderr, "Error: argument of \"mode\" must be either \"l2\", \"l3\" or \"l3s\"\n"); -+ fprintf(stderr, "Error: argument of \"mode\" must be either \"l2\", \"l3\", \"l2e\", or \"l3s\"\n"); - return -1; - } - addattr16(n, 1024, IFLA_IPVLAN_MODE, mode); -@@ -88,6 +90,7 @@ static void ipvlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb) - __u16 mode = rta_getattr_u16(tbIFLA_IPVLAN_MODE); - const char *mode_str = mode == IPVLAN_MODE_L2 ? "l2" : - mode == IPVLAN_MODE_L3 ? "l3" : -+ mode == IPVLAN_MODE_L2E ? "l2e" : - mode == IPVLAN_MODE_L3S ? "l3s" : "unknown"; - - print_string(PRINT_ANY, "mode", " mode %s ", mode_str); --- -2.19.1 -
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2