Stefan Sperling <s...@stsp.name> writes: > On Sun, Jan 15, 2017 at 12:03:18PM +0200, timo.my...@wickedbsd.net wrote: > >> >Synopsis: apu2b4 drops to ddb after upgrading latest snapshot >> >Category: kernel >> >Environment: >> System : OpenBSD 6.0 >> Details : OpenBSD 6.0-current (GENERIC.MP) #142: Sat Jan 14 >> 20:29:59 MST 2017 >> >> bu...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP >> >> Architecture: OpenBSD.amd64 >> Machine : amd64 >> >Description: >> System drops to ddb at random intervals after upgrading to latest >> snapshot. >> This seems to be related to 11n changes. >> I got following from ddb: > > Not sure if this will help, but it is worth a try: > > Index: ieee80211_node.c > =================================================================== > RCS file: /cvs/src/sys/net80211/ieee80211_node.c,v > retrieving revision 1.111 > diff -u -p -r1.111 ieee80211_node.c > --- ieee80211_node.c 9 Jan 2017 20:18:59 -0000 1.111 > +++ ieee80211_node.c 15 Jan 2017 11:26:42 -0000 > @@ -1638,6 +1638,7 @@ ieee80211_node_leave_ht(struct ieee80211 > int i; > > /* free all Block Ack records */ > + ieee80211_ba_del(ni); > for (tid = 0; tid < IEEE80211_NUM_TID; tid++) { > ba = &ni->ni_rx_ba[tid]; > if (ba->ba_buf != NULL) {
With this patch I haven't seen any crashes so far. So at least for couple of hours of active use it seems to have fixed things. Timo