git: a08d321948ef - stable/14 - tests/carp: kill routed(8) before destroying interfaces
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 May 2026 06:27:13 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=a08d321948ef172160b0c88d828e8b4b36e96acb
commit a08d321948ef172160b0c88d828e8b4b36e96acb
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-10-15 18:44:54 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-05-10 06:25:55 +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.
(cherry picked from commit 8596810d02a1e361e0312d116339aa106aca4b19)
(cherry picked from commit 89096d660ea8e3f4696abeb6745ffedf15e7aa89)
---
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 e14bedb4f878..b861fcf47eab 100755
--- a/tests/sys/netinet/carp.sh
+++ b/tests/sys/netinet/carp.sh
@@ -168,6 +168,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
}