[Bug 269801] WiFi auto-disconnection followed by system freeze when deleting the netmap/VALE network plugged into wlan0

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Feb 2023 12:58:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269801

            Bug ID: 269801
           Summary: WiFi auto-disconnection followed by system freeze when
                    deleting the netmap/VALE network plugged into wlan0
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: jonasbsd@gmail.com

Hello guys. 

I had a lot of problems with the vm-bhyve NAT network. That's why I looked for
alternatives and took the opportunity to study cases of using Netgraph and
netmap/VALE with bhyve.

And so I think I found some bugs in 14-CURRENT.

> a. After some time away from the PC, there is a disconnection with the WiFi network.
> b. When I delete a VALE network that was connected to wlan0 before disconnecting the network, FreeBSD freezes;

The scenario is this:

- 1. After some time away from the PC, there is a disconnection with the WiFi
network. It looks like it's connected, but it doesn't work;

- 2. I enter the command: service netif restart wlan0

- 3. The network works again;

- 4. When I delete a VALE network that was connected to wlan0 before
disconnecting the network, FreeBSD freezes;

I've tested it several times, and the same thing happens.

My wpa_supplicant version:

```
$ wpa_supplicant -v
wpa_supplicant v2.10
Copyright (c) 2003-2022, Jouni Malinen <j@w1.fi> and contributors
```

Best,
Jonas Lopes

-- 
You are receiving this mail because:
You are the assignee for the bug.