FreeBSD Bugzilla – Attachment 243488 Details for
Bug 233683
IPv6 ND neighbor solicitation messages fail to arrive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Test case
0001-netinet6-tests-test-for-loss-of-Solicited-node-multi.patch (text/plain), 1.66 KB, created by
Kristof Provost
on 2023-07-19 15:10:20 UTC
(
hide
)
Description:
Test case
Filename:
MIME Type:
Creator:
Kristof Provost
Created:
2023-07-19 15:10:20 UTC
Size:
1.66 KB
patch
obsolete
>From 403388c0504cf0b2a53a431dab99420252b06044 Mon Sep 17 00:00:00 2001 >From: Kristof Provost <kp@FreeBSD.org> >Date: Wed, 19 Jul 2023 16:37:28 +0200 >Subject: [PATCH] netinet6 tests: test for loss of Solicited-node multicast > groups > >The multicast code has an issue where it can lose the Solicited-node >multicast group subscription if the same address is added twice. > >Test for this. > >PR: 233683 >MFC after: 1 week >Sponsored by: Rubicon Communications, LLC ("Netgate") >--- > tests/sys/netinet6/mld.sh | 40 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > >diff --git a/tests/sys/netinet6/mld.sh b/tests/sys/netinet6/mld.sh >index 034d5945ae20..80b7117c3717 100755 >--- a/tests/sys/netinet6/mld.sh >+++ b/tests/sys/netinet6/mld.sh >@@ -80,10 +80,50 @@ mldraw01_cleanup() { > vnet_cleanup > } > >+atf_test_case "pr233683" "cleanup" >+pr233683_head() { >+ >+ atf_set descr 'Test for PR233683' >+ atf_set require.user root >+} >+ >+pr233683_body() { >+ j="mld:pr233683" >+ >+ vnet_init >+ >+ epair=$(vnet_mkepair) >+ >+ vnet_mkjail ${j}a ${epair}a >+ jexec ${j}a ifconfig ${epair}a inet6 2001:db8::1/64 up >+ sleep 5 >+ >+ jexec ${j}a ifconfig ${epair}a inet6 2001:db8::1/64 >+ >+ vnet_mkjail ${j}b ${epair}b >+ jexec ${j}b ifconfig ${epair}b inet6 2001:db8::2/64 up >+ >+ # Allow DAD to run >+ sleep 5 >+ >+ # Debug output. If the bug is present we'd expect to not see a >+ # membership for ff02::1:ff00:1 >+ jexec ${j}a ifmcstat -i ${epair}a >+ jexec ${j}a ifconfig ${epair}a >+ >+ atf_check -s exit:0 -o ignore \ >+ jexec ${j}b ping -6 -c 1 2001:db8::1 >+} >+ >+pr233683_cleanup() { >+ >+ vnet_cleanup >+} > atf_init_test_cases() > { > > atf_add_test_case "mldraw01" >+ atf_add_test_case "pr233683" > } > > # end >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233683
:
243486
| 243488