Page MenuHomeFreeBSD

tests: Add grand link-layer event
ClosedPublic

Authored by pouria on Mar 18 2026, 10:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 30, 12:02 PM
Unknown Object (File)
Mon, Aug 24, 7:06 PM
Unknown Object (File)
Mon, Aug 24, 2:02 AM
Unknown Object (File)
Sun, Aug 23, 10:15 AM
Unknown Object (File)
Sun, Aug 23, 9:03 AM
Unknown Object (File)
Sat, Aug 22, 11:07 AM
Unknown Object (File)
Fri, Aug 21, 11:24 AM
Unknown Object (File)
Fri, Aug 21, 7:42 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 Passed
Unit
No Test Coverage
Build Status
Buildable 71496
Build 68379: arc lint + arc unit

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.