[Bug 283903] rtw88: possible skb leak

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Jan 2025 15:39:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283903

            Bug ID: 283903
           Summary: rtw88: possible skb leak
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: oleg.nauman@gmail.com

rtw88 experience issues with skb allocation after few hours of uptime, spamming
console with "skb allocation failed" and causing networking to stop ( can not
ping wireless access point even )

Dec 21 11:35:39 kernel: rtw880: ERROR lkpi_80211_txq_tx_one: skb alloc failed
Dec 21 11:42:13 kernel: rx routine starvation
Dec 21 11:42:13 kernel: rtw880: ERROR lkpi_80211_txq_tx_one: skb alloc failed
Dec 21 11:42:40 syslogd: last message repeated 9 times
Dec 21 11:44:54 syslogd: last message repeated 621 times

It happens with

rtw880@pci0:2:0:0:      class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec
device=0xc821 subvendor=0x1a3b subdevice=0x3040
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8821CE 802.11ac PCIe Wireless Network Adapter'
    class      = network

wifi adapter,

another important point that it is vanilla CURRENT amd64
main-n274315-da2c88dfcf4f-dirty with the patch applied from
https://reviews.freebsd.org/D48161 ,

sysctl compat.linuxkpi.skb.mem_limit is set to 1

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