Bug 235152 - panic on subsequent wlan0 down & destroy in rtsock_msg_mbuf() (with r343254)
Summary: panic on subsequent wlan0 down & destroy in rtsock_msg_mbuf() (with r343254)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2019-01-23 12:23 UTC by Andriy Voskoboinyk
Modified: 2022-10-12 00:49 UTC (History)
1 user (show)

See Also:


Attachments
Panic backtrace (5.41 KB, text/plain)
2019-01-23 12:23 UTC, Andriy Voskoboinyk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-23 12:23:55 UTC
Created attachment 201356 [details]
Panic backtrace

It's an RTL8821AU - driven by rtwn_usb(4) (however, I don't think this matters);
after some scan testing (wlandebug scan) I've done:

ifconfig wlan0 down
[~1 second pause]
ifconfig wlan0 destroy

The panic backtrace / kdb was shown instantly after the last command.
Comment 1 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-25 11:21:44 UTC
The backtrace has no net80211 / driver calls; I think it's something net-specific.
Comment 2 Hans Petter Selasky freebsd_committer freebsd_triage 2019-01-25 11:29:39 UTC
Comment on attachment 201356 [details]
Panic backtrace

Hi,

I think this issue is another variant of:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233535

Can you try the latest 13-current ?

--HPS
Comment 3 Hans Petter Selasky freebsd_committer freebsd_triage 2019-01-25 11:30:57 UTC
https://svnweb.freebsd.org/changeset/base/343394

Try this patch.

--HPS
Comment 4 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-27 15:00:06 UTC
Everything is okay after update (r343473), thanks!