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)
Wed, Jul 15, 7:13 AM
Unknown Object (File)
Wed, Jul 15, 7:13 AM
Unknown Object (File)
Mon, Jul 13, 8:45 PM
Unknown Object (File)
Fri, Jul 10, 1:03 PM
Unknown Object (File)
Fri, Jul 10, 9:08 AM
Unknown Object (File)
Wed, Jun 24, 3:20 PM
Unknown Object (File)
Tue, Jun 23, 5:26 AM
Unknown Object (File)
Jun 15 2026, 12:15 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 71497
Build 68380: 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.