git: DragonFly_RELEASE_4_4 if_iwm: Apply some changes from OpenBSD, if_iwm.c rev 1.39 -> 1.42
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Mon Jan 18 16:58:28 PST 2016
commit 983937931ec3f2e81945eadaa5e682a672e687ca
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/983937931ec3f2e81945eadaa5e682a672e687ca
--
DragonFly BSD source repository
More information about the Commits
mailing list