commit 983937931ec3f2e81945eadaa5e682a672e687ca
Author: Imre Vadász <[email protected]>
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