Page MenuHomeFreeBSD

net80211: amrr_init: change order of commands
ClosedPublic

Authored by bz on Feb 5 2024, 2:50 PM.
Tags
None
Referenced Files
F108288887: D43751.id133881.diff
Thu, Jan 23, 1:29 PM
F108287575: D43751.id137057.diff
Thu, Jan 23, 1:08 PM
F108267509: D43751.diff
Thu, Jan 23, 7:01 AM
Unknown Object (File)
Dec 12 2024, 1:46 AM
Unknown Object (File)
Nov 29 2024, 7:05 PM
Unknown Object (File)
Nov 18 2024, 7:02 AM
Unknown Object (File)
Oct 21 2024, 7:25 AM
Unknown Object (File)
Oct 21 2024, 7:24 AM

Details

Summary

First run the KASSERT before trying to do the free operation.
Better for reporting and debugging.
Add a guard setting the value to NULL afterwards. NULL pointers
are a lot easier to test for.

Note: we should really just change the amrr local ref to atomics.

MFC after: 3 days

Diff Detail

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