artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bddb48e
)
plug a node reference leak in qwx_mgmt_rx_event()
author
stsp
<stsp@openbsd.org>
Thu, 29 Feb 2024 11:42:31 +0000
(11:42 +0000)
committer
stsp
<stsp@openbsd.org>
Thu, 29 Feb 2024 11:42:31 +0000
(11:42 +0000)
This leak is of little consequence in station mode, but would be
problematic in hostap mode.
sys/dev/ic/qwx.c
patch
|
blob
|
history
diff --git
a/sys/dev/ic/qwx.c
b/sys/dev/ic/qwx.c
index
193fdae
..
0382346
100644
(file)
--- a/
sys/dev/ic/qwx.c
+++ b/
sys/dev/ic/qwx.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: qwx.c,v 1.5
2 2024/02/24 15:21:39 cheloha Exp $
*/
+/* $OpenBSD: qwx.c,v 1.5
3 2024/02/29 11:42:31 stsp Exp $
*/
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
@@
-12793,6
+12793,7
@@
qwx_mgmt_rx_event(struct qwx_softc *sc, struct mbuf *m)
}
#endif
ieee80211_input(ifp, m, ni, &rxi);
+ ieee80211_release_node(ic, ni);
exit:
#ifdef notyet
rcu_read_unlock();