Bug 235152

Summary: panic on subsequent wlan0 down & destroy in rtsock_msg_mbuf() (with r343254)
Product: Base System Reporter: Andriy Voskoboinyk <avos>
Component: kernAssignee: freebsd-net mailing list <net>
Status: Closed FIXED    
Severity: Affects Only Me CC: hselasky
Priority: --- Keywords: panic
Version: CURRENT   
Hardware: Any   
OS: Any   
Description Flags
Panic backtrace none

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!