Re: [PATCH] mac80211: mesh: tolerate missing mesh RMC cache

From: Johannes Berg
Date: Mon Nov 10 2025 - 02:36:30 EST


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