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
F167601944: D55059.id171012.diff
Sun, Aug 23, 1:06 AM
Unknown Object (File)
Sun, Aug 9, 7:09 AM
Unknown Object (File)
Sat, Aug 8, 9:37 AM
Unknown Object (File)
Wed, Aug 5, 8:50 AM
Unknown Object (File)
Wed, Aug 5, 7:28 AM
Unknown Object (File)
Tue, Aug 4, 7:41 AM
Unknown Object (File)
Sat, Aug 1, 3:40 PM
Unknown Object (File)
Sat, Aug 1, 10:57 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