Date: Sun, 10 Dec 2023 16:20:06 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 275616] bwn driver causes kernel panic after connect Message-ID: <bug-275616-21060-nHluJ8YdhK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275616-21060@https.bugs.freebsd.org/bugzilla/> References: <bug-275616-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275616 --- Comment #15 from Mark Johnston <markj@FreeBSD.org> --- (In reply to Mark Johnston from comment #14) Oops, my comment about the assertion is wrong. I don't really understand t= he frame layout. But the problem is clear: ieee80211_mbuf_adjust() may return= an mbuf with just MHLEN - 150 =3D=3D 10 bytes left in its buffer, and ieee80211_encap() then calls m_adj(m, 6), leaving 4 bytes of space, but sizeof(struct llc) is 8 bytes. And, in stable/13 sizeof(struct pkthdr) is 8 bytes smaller, so there was en= ough space then, but now it's not enough. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275616-21060-nHluJ8YdhK>