Author: avos
Date: Sat Feb  2 16:07:56 2019
New Revision: 343681
URL: https://svnweb.freebsd.org/changeset/base/343681

Log:
  run(4): fix allocated memory type for ieee80211_node(4).
  
  PR:           177366
  MFC after:    3 days

Modified:
  head/sys/dev/usb/wlan/if_run.c

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c      Sat Feb  2 16:06:06 2019        
(r343680)
+++ head/sys/dev/usb/wlan/if_run.c      Sat Feb  2 16:07:56 2019        
(r343681)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to