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)
Sun, Dec 8, 11:15 PM
Unknown Object (File)
Fri, Nov 22, 7:28 AM
Unknown Object (File)
Fri, Nov 22, 7:28 AM
Unknown Object (File)
Fri, Nov 22, 7:28 AM
Unknown Object (File)
Fri, Nov 22, 7:09 AM
Unknown Object (File)
Sep 29 2024, 11:26 PM
Unknown Object (File)
Sep 10 2024, 9:53 PM
Unknown Object (File)
Sep 8 2024, 8:25 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.