Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 02:18:12 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343821 - in stable: 10/sys/dev/usb/wlan 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan
Message-ID:  <201902060218.x162ICVE005985@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Wed Feb  6 02:18:11 2019
New Revision: 343821
URL: https://svnweb.freebsd.org/changeset/base/343821

Log:
  MFC r343681:
  run(4): fix allocated memory type for ieee80211_node(4)
  
  PR:		177366

Modified:
  stable/12/sys/dev/usb/wlan/if_run.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/dev/usb/wlan/if_run.c
  stable/11/sys/dev/usb/wlan/if_run.c
Directory Properties:
  stable/10/   (props changed)
  stable/11/   (props changed)

Modified: stable/12/sys/dev/usb/wlan/if_run.c
==============================================================================
--- stable/12/sys/dev/usb/wlan/if_run.c	Wed Feb  6 02:07:37 2019	(r343820)
+++ stable/12/sys/dev/usb/wlan/if_run.c	Wed Feb  6 02:18:11 2019	(r343821)
@@ -2029,7 +2029,8 @@ run_read_eeprom(struct run_softc *sc)
 static struct ieee80211_node *
 run_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN])
 {
-	return malloc(sizeof (struct run_node), M_DEVBUF, M_NOWAIT | M_ZERO);
+	return malloc(sizeof (struct run_node), M_80211_NODE,
+	    M_NOWAIT | M_ZERO);
 }
 
 static int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902060218.x162ICVE005985>