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)
Keywords: panic
Depends on:
Reported: 2019-01-23 12:23 UTC by Andriy Voskoboinyk
Modified: 2019-01-27 15:00 UTC (History)
1 user (show)

See Also:

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 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 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 2019-01-25 11:29:39 UTC
Comment on attachment 201356 [details]
Panic backtrace


I think this issue is another variant of:

Can you try the latest 13-current ?

Comment 3 Hans Petter Selasky freebsd_committer 2019-01-25 11:30:57 UTC

Try this patch.

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