Date: Sun, 1 Feb 2004 10:34:40 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 46315 for review Message-ID: <200402011834.i11IYeEj058246@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46315 Change 46315 by sam@sam_ebb on 2004/02/01 10:34:16 tag node allocations with M_80211_NODE Affected files ... .. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#23 edit Differences ... ==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#23 (text+ko) ==== @@ -1538,8 +1538,8 @@ static struct ieee80211_node * ath_node_alloc(struct ieee80211com *ic) { - struct ath_node *an = - malloc(sizeof(struct ath_node), M_DEVBUF, M_NOWAIT | M_ZERO); + struct ath_node *an = malloc(sizeof(struct ath_node), + M_80211_NODE, M_NOWAIT | M_ZERO); if (an) { struct ifnet *ifp = ic->ic_ifp; struct ath_softc *sc = ifp->if_softc; @@ -1565,7 +1565,7 @@ if (bf->bf_node == ni) bf->bf_node = NULL; } - free(ni, M_DEVBUF); + free(ni, M_80211_NODE); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402011834.i11IYeEj058246>