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)
Fri, Dec 26, 7:43 AM
Unknown Object (File)
Wed, Dec 24, 6:49 AM
Unknown Object (File)
Nov 23 2025, 1:23 AM
Unknown Object (File)
Nov 21 2025, 2:06 AM
Unknown Object (File)
Nov 21 2025, 2:05 AM
Unknown Object (File)
Nov 21 2025, 2:05 AM
Unknown Object (File)
Nov 21 2025, 2:01 AM
Unknown Object (File)
Nov 15 2025, 1:14 AM
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.