From 5d5fb709666cad124bfaa4c552a654eef92c449f Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Fri, 11 Mar 2005 20:41:07 +0000 Subject: don't forget to release nodes when they are no longer needed. --- sys/dev/ic/ral.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c index 7001b6013de..41ef378b4fc 100644 --- a/sys/dev/ic/ral.c +++ b/sys/dev/ic/ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ral.c,v 1.30 2005/03/11 20:39:15 damien Exp $ */ +/* $OpenBSD: ral.c,v 1.31 2005/03/11 20:41:06 damien Exp $ */ /*- * Copyright (c) 2005 @@ -1266,6 +1266,9 @@ ral_decryption_intr(struct ral_softc *sc) rn = (struct ral_node *)ni; ieee80211_rssadapt_input(ic, ni, &rn->rssadapt, desc->rssi); + /* node is no longer needed */ + ieee80211_release_node(ic, ni); + MGETHDR(data->m, M_DONTWAIT, MT_DATA); if (data->m == NULL) { printf("%s: could not allocate rx mbuf\n", -- cgit v1.2.3