Page MenuHomeFreeBSD

[iwm] Free rx ring on detach. Free nvm_sections data after parsing.
ClosedPublic

Authored by imre_vdsz.com on Jun 11 2016, 9:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 6:10 PM
Unknown Object (File)
Mon, May 18, 3:01 AM
Unknown Object (File)
May 10 2026, 2:51 AM
Unknown Object (File)
May 9 2026, 10:25 AM
Unknown Object (File)
May 6 2026, 3:11 AM
Unknown Object (File)
May 5 2026, 8:39 AM
Unknown Object (File)
Apr 30 2026, 3:37 PM
Unknown Object (File)
Apr 26 2026, 10:35 PM
Subscribers

Details

Summary
  • Call iwm_free_rx_ring() when detaching.
  • Free nvm_sections[i].data allocations after parsing the nvm data. As a workaround to make it build, had to remove const specifier from struct nvm_section's data value.

Obtained from: DragonFlyBSD 4dc3b92f92c7a2d9582ca7cbd06a5582d54d61be

Test Plan

Tested on AC 7260, loading and unloading the iwm module multiple times,
and using wpa_supplicant each time to connect to an AP and use the wlan
connection a little bit.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imre_vdsz.com retitled this revision from to [iwm] Free rx ring on detach. Free nvm_sections data after parsing..
imre_vdsz.com updated this object.
imre_vdsz.com edited the test plan for this revision. (Show Details)
imre_vdsz.com added a reviewer: adrian.
adrian edited edge metadata.
This revision is now accepted and ready to land.Jun 15 2016, 4:33 AM

thanks! I'll try to get this into -head before 11.0 is cut.

This revision was automatically updated to reflect the committed changes.