Page MenuHomeFreeBSD

tests: Add grand link-layer event
ClosedPublic

Authored by pouria on Mar 18 2026, 10:51 PM.
Tags
None
Referenced Files
F159502178: D55927.diff
Mon, Jun 15, 12:15 AM
F159466207: D55927.diff
Sun, Jun 14, 12:34 PM
Unknown Object (File)
Sun, Jun 7, 9:21 PM
Unknown Object (File)
Tue, Jun 2, 9:46 AM
Unknown Object (File)
Mon, Jun 1, 8:53 PM
Unknown Object (File)
Sun, May 31, 3:58 AM
Unknown Object (File)
Thu, May 28, 5:40 AM
Unknown Object (File)
Wed, May 20, 3:00 AM

Details

Summary

Add test for ndp to verity link-layer
address change event actually triggers the grand.

Test Plan

Run the test below:

kyua debug -k /usr/tests/Kyuafile sys/netinet6/ndp:ndp_grand_linklayer_event

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tests/sys/netinet6/ndp.sh
406

What is the actual timer in the kernel? If it is 1 second, I'd suggest to sleep 1.1.

406

You may also want to check ndp output immediately after ifconfig, before sleep.

I'm planning to commit this tonight around 9:30 PM +3:30 (of course, if I don't get disconnected).
I would appreciate any input on this review.

Change mac address to *unicast UAA* and reuse mac address of previous tests for consistency.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 27 2026, 8:51 PM
This revision was automatically updated to reflect the committed changes.