summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-03-11 20:41:07 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-03-11 20:41:07 +0000
commit5d5fb709666cad124bfaa4c552a654eef92c449f (patch)
treedac1f6589d14a118a6e66a1a8af440b4d7621e30 /sys/dev/ic
parentabbf9535ac9cb9f2514207382603801294d4af38 (diff)
don't forget to release nodes when they are no longer needed.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ral.c5
1 files changed, 4 insertions, 1 deletions
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",