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)
Wed, Nov 5, 6:55 AM
Unknown Object (File)
Sun, Nov 2, 1:19 AM
Unknown Object (File)
Fri, Oct 24, 3:39 AM
Unknown Object (File)
Wed, Oct 15, 1:21 PM
Unknown Object (File)
Wed, Oct 15, 9:38 AM
Unknown Object (File)
Wed, Oct 15, 9:38 AM
Unknown Object (File)
Wed, Oct 15, 9:38 AM
Unknown Object (File)
Tue, Oct 14, 10:56 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.