On Thu, 2016-11-17 at 01:07 +0100, Florian Westphal wrote:

> +     if (state->mem == NULL) {
> +             state->mem = __alloc_percpu(PAGE_SIZE, PAGE_SIZE);
> +             if (!state->mem)
> +                     return false;
> +     }

This will fail on arches where PAGE_SIZE=65536

percpu allocator limit is PCPU_MIN_UNIT_SIZE  ( 32 KB )

So maybe use a smaller value like 4096 ?

#define XT_PCPU_BLOC_SIZE 4096


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to