Page MenuHomeFreeBSD

tests: Add grand link-layer event
ClosedPublic

Authored by pouria on Mar 18 2026, 10:51 PM.
Tags
None
Referenced Files
F174910239: D55927.id174396.diff
Tue, Oct 6, 10:14 PM
F174897467: D55927.id173873.diff
Tue, Oct 6, 8:25 PM
F174889187: D55927.id.diff
Tue, Oct 6, 7:08 PM
Unknown Object (File)
Tue, Oct 6, 4:58 AM
Unknown Object (File)
Mon, Oct 5, 9:12 PM
Unknown Object (File)
Mon, Oct 5, 2:51 PM
Unknown Object (File)
Sun, Oct 4, 4:01 PM
Unknown Object (File)
Sun, Oct 4, 3:45 PM

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.