git: if_iwm - Cleanup mbufq draining. Add iwm_xmit_queue_drain() like in iwn(4).

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Nov 1 08:43:42 PDT 2016


commit 339d45fda40072e0aca5ece639173204716f11fe
Author: Imre Vadász <imre at vdsz.com>
Date:   Tue Nov 1 16:34:14 2016 +0100

    if_iwm - Cleanup mbufq draining. Add iwm_xmit_queue_drain() like in iwn(4).
    
    * iwm_xmit_queue_drain() calls ieee80211_free_node(), removing a possible
      memory leak, compared to using just mbufq_drain().
    
    * Remove duplicate mbufq_drain() from iwm_mvm_rm_sta(), this should be
      handled in the caller.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c     | 20 ++++++++++++++++++--
 sys/dev/netif/iwm/if_iwm_sta.c |  1 -
 2 files changed, 18 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/339d45fda40072e0aca5ece639173204716f11fe


-- 
DragonFly BSD source repository



More information about the Commits mailing list