Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2025 18:55:36 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8596810d02a1 - main - tests/carp: kill routed(8) before destroying interfaces
Message-ID:  <202510151855.59FItanS072890@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=8596810d02a1e361e0312d116339aa106aca4b19

commit 8596810d02a1e361e0312d116339aa106aca4b19
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-10-15 18:44:54 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-10-15 18:55:25 +0000

    tests/carp: kill routed(8) before destroying interfaces
    
    Otherwise routed logs a warning:
    
    "MCAST_LEAVE_GROUP ALLROUTERS: Can't assign requested address"
    
    that may be misinterpreted as a problem.
---
 tests/sys/netinet/carp.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/sys/netinet/carp.sh b/tests/sys/netinet/carp.sh
index 2aae2854826e..568d2beaf914 100755
--- a/tests/sys/netinet/carp.sh
+++ b/tests/sys/netinet/carp.sh
@@ -215,6 +215,9 @@ unicast_v4_body()
 
 unicast_v4_cleanup()
 {
+	jexec carp_uni_v4_one killall routed
+	jexec carp_uni_v4_two killall routed
+	jexec carp_uni_v4_three killall routed
 	vnet_cleanup
 }
 


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510151855.59FItanS072890>