Search Linux Wireless

Re: [PATCH] wifi: wext: Eliminate log spamming in wireless_warn_cfg80211_wext()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-02-22 at 14:49 -0600, Larry Finger wrote:
> Commit dc09766c755c {"wifi: wireless: warn on most wireless extension
> usage") introduces a warning when wireless extensions are used with
> cfg80211 drivers. Although such a warning is desirable, the current
> implementation overflows the dmesg buffer with thousands of warnings,
> all of which are the same.
> 

What are you seeing them from?

This is rate-limited, so not sure why you're getting so many?

>  A WARN_ONCE() call is sufficient.

I think a WARN is inappropriate (it's a userspace 'issue', not an in-
kernel consistency problem), but I guess we could pr_once().

But that's not great because it only shows a single application that was
still using it, not if there are multiple.

Hmm. Not sure what to do. Let's start with "why are you getting it so
much". Maybe we can somehow print it less, or try to do per application
once, or something.

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux