[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f27e024e442078b51d70ce5cfdbe2beab9b822c4.camel@sipsolutions.net>
Date: Mon, 10 Nov 2025 08:36:15 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Sayooj K Karun <sayooj@...lync.com>
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mac80211: mesh: tolerate missing mesh RMC cache
You need to fix the subject.
> void ieee80211s_init(void)
> {
> - mesh_allocated = 1;
> rm_cache = kmem_cache_create("mesh_rmc", sizeof(struct rmc_entry),
> 0, 0, NULL);
> + if (!rm_cache) {
> + pr_warn("mac80211: failed to allocate mesh RMC cache; duplicate filtering disabled\n");
A message after an allocation failure is almost always pointless since
it's already a really big scary warning... Maybe there's a way to
supress the original warning in this case (not sure) and then have this
message.
johannes
Powered by blists - more mailing lists