summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwfmvar.h
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2019-07-05 12:35:17 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2019-07-05 12:35:17 +0000
commit9cbc54e735d6ae43aa0a659fea1ac4384236407a (patch)
tree43ceedb92bc2dd4ece644137b4603a8fdd05ac5d /sys/dev/ic/bwfmvar.h
parent78cb2532be3115ceffb7b842509a0eb79206ec82 (diff)
Since on a SCAN each node is provided in its own event,
the limited ring for asynchronous can easily overflow. Work around this by chaining the mbufs into a list. Fixes a panic for jcs@ ok stsp@
Diffstat (limited to 'sys/dev/ic/bwfmvar.h')
-rw-r--r--sys/dev/ic/bwfmvar.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/bwfmvar.h b/sys/dev/ic/bwfmvar.h
index 7ea91a21a28..c09bc87704c 100644
--- a/sys/dev/ic/bwfmvar.h
+++ b/sys/dev/ic/bwfmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwfmvar.h,v 1.15 2018/07/17 19:44:38 patrick Exp $ */
+/* $OpenBSD: bwfmvar.h,v 1.16 2019/07/05 12:35:16 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se>
@@ -121,10 +121,6 @@ struct bwfm_cmd_key {
struct ieee80211_key *k;
};
-struct bwfm_cmd_mbuf {
- struct mbuf *m;
-};
-
struct bwfm_cmd_flowring_create {
struct mbuf *m;
int flowid;
@@ -167,6 +163,7 @@ struct bwfm_softc {
struct bwfm_host_cmd_ring sc_cmdq;
struct taskq *sc_taskq;
struct task sc_task;
+ struct mbuf_list sc_evml;
int sc_bcdc_reqid;
TAILQ_HEAD(, bwfm_proto_bcdc_ctl) sc_bcdc_rxctlq;