On Sun, 2016-11-20 at 12:22 -0500, Eric D wrote: > I'm currently abroad for work and will come back home soon. I will > test the solution and provide feedback to Florian by end of week. > > Thanks for jumping on this quickly. > > Eric > > > On Nov 20, 2016 7:33 AM, "Eric Dumazet" <eric.dumazet@xxxxxxxxx> > wrote: > 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 > Thanks Eric, I will test the patch myself, because I believe we need it asap ;) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html