PERFORCE change 46315 for review
Sam Leffler
sam at FreeBSD.org
Sun Feb 1 10:34:48 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=46315
Change 46315 by sam at 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
More information about the p4-projects
mailing list