svn commit: r343821 - in stable: 10/sys/dev/usb/wlan 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan
Andriy Voskoboinyk
avos at FreeBSD.org
Wed Feb 6 02:18:13 UTC 2019
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
More information about the svn-src-all
mailing list