lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ae4f7181d7ff016c262b638e3dd42d708833d5b1.1646858967.git.antony.antony@secunet.com>
Date:   Wed, 9 Mar 2022 21:52:58 +0100
From:   Antony Antony <antony.antony@...unet.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
CC:     David Ahern <dsahern@...il.com>, <netdev@...r.kernel.org>,
        Matt Ellison <matt@...oyo.io>,
        Eyal Birger <eyal.birger@...il.com>,
        Herbert Xu <herbert@...dor.apana.org.au>,
        Steffen Klassert <steffen.klassert@...unet.com>
Subject: [PATCH iproute2] testsuite: link xfrm delete no if_id test

Since kernel commit 8dce43919566 ("xfrm: interface with if_id 0 should return error")
if_id should be non zero.
Delete the test without if_id, which defaulted if_id to zero.

Reported-by: Stephen Hemminger <stephen@...workplumber.org>
Signed-off-by: Antony Antony <antony.antony@...unet.com>
---
 testsuite/tests/ip/link/add_type_xfrm.t | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/testsuite/tests/ip/link/add_type_xfrm.t b/testsuite/tests/ip/link/add_type_xfrm.t
index 78ce28e0..caba0e46 100755
--- a/testsuite/tests/ip/link/add_type_xfrm.t
+++ b/testsuite/tests/ip/link/add_type_xfrm.t
@@ -15,18 +15,3 @@ test_on "$NEW_DEV"
 test_on "if_id $IF_ID"

 ts_ip "$0" "Del $NEW_DEV xfrm interface"   link del dev $NEW_DEV
-
-
-ts_log "[Testing Add XFRM Interface, No IF-ID]"
-
-PHYS_DEV="lo"
-NEW_DEV="$(rand_dev)"
-IF_ID="0xf"
-
-ts_ip "$0" "Add $NEW_DEV xfrm interface"    link add dev $NEW_DEV type xfrm dev $PHYS_DEV
-
-ts_ip "$0" "Show $NEW_DEV xfrm interface"   -d link show dev $NEW_DEV
-test_on "$NEW_DEV"
-test_on_not "if_id $IF_ID"
-
-ts_ip "$0" "Del $NEW_DEV xfrm interface"   link del dev $NEW_DEV
--
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ