git: if_iwm: Apply some changes from OpenBSD, if_iwm.c rev 1.39 -> 1.42

Imre Vadasz ivadasz at crater.dragonflybsd.org
Thu Dec 31 15:02:02 PST 2015


commit 352c1ce92aec690a8469da6d4702a3647b813e67
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Dec 30 17:01:11 2015 +0100

    if_iwm: Apply some changes from OpenBSD, if_iwm.c rev 1.39 -> 1.42
    
    - Use m_defrag(9) instead of rolling our own version of it.
    
    - Limit the number of dma segments used for tx to IWM_MAX_SCATTER - 2.
      This avoids out-of-bound accesses on the segs array in iwm_tx().
    
    - cleanup attach message
    
    Taken-From: OpenBSD

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 41 +++++++++++++----------------------------
 1 file changed, 13 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/352c1ce92aec690a8469da6d4702a3647b813e67


-- 
DragonFly BSD source repository



More information about the Commits mailing list