HomeFreeBSD

LinuxKPI: 802.11/skb: add extra information for skb alloc failures

Description

LinuxKPI: 802.11/skb: add extra information for skb alloc failures

rtw88 seems to have an skb leak still.

Add a WARN_ONCE to __skb_queue_purge() just to make sure there is no
glitch due to missing locking.

Also add a rolling error reporting for skb allocation failures in
LinuxKPI to gather some more information if possible about queue
states.

This is a corrected version of what was initially part of D48474.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit bcf1d8ee355213eef4a125c0b8518f1cb4f35df4)
(cherry picked from commit 1432e0f20ccde8eaa23d3d3e20fca2989cd344b6)

Details

Provenance
bzAuthored on Dec 27 2024, 9:26 PM
Parents
rG00295a19ab1a: LinuxKPI: 802.11: ieee80211_vif_usable_links()
Branches
Unknown
Tags
Unknown