Page MenuHomeFreeBSD

ip6_mroute: Deindent some code in ip6_mdq()
ClosedPublic

Authored by markj on Feb 2 2026, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 15, 11:37 AM
Unknown Object (File)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Fri, Jul 10, 9:13 AM
Unknown Object (File)
Mon, Jul 6, 10:46 PM
Unknown Object (File)
Sun, Jul 5, 3:41 AM
Unknown Object (File)
Fri, Jul 3, 12:06 PM
Unknown Object (File)
Fri, Jul 3, 5:52 AM

Details

Summary

Deal with the mifi >= nummifs case early so that we can de-indent the
rest of the code. This also ensures that the debug log (compiled out by
default) doesn't perform an out-of-bounds access.

Remove a bogus NULL test in an inner loop while here.

No functional change intended.

Diff Detail

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