git: if_iwm - Add and use iwm_phy_db_free(), to plug phy_db memory leak.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Jun 11 09:00:10 PDT 2016


commit eaf551a1d464c643e98ce5781971dd32124e9af1
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Jun 11 17:54:44 2016 +0200

    if_iwm - Add and use iwm_phy_db_free(), to plug phy_db memory leak.
    
    * Memory leakage in M_DEVBUF is now at ca. 2KB for each iwm(4) module
      load/unload cycle.
    
    Taken-From: Linux iwlwifi

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c        |  2 ++
 sys/dev/netif/iwm/if_iwm_phy_db.c | 30 ++++++++++++++++++++++++++++++
 sys/dev/netif/iwm/if_iwm_phy_db.h |  1 +
 3 files changed, 33 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eaf551a1d464c643e98ce5781971dd32124e9af1


-- 
DragonFly BSD source repository


More information about the Commits mailing list