Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Dan Streetman
On Wed, Oct 28, 2015 at 9:42 AM, Hannes Frederic Sowa wrote: > Hello, > > On Wed, Oct 28, 2015, at 14:32, Dan Streetman wrote: >> On Tue, Oct 27, 2015 at 12:15 PM, wrote: >> > From: Dan Streetman >> > >> > The ipv4 and ipv6 xfrms each create a template dst_ops object, and >> > perform dst_entri

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread David Miller
From: Dan Streetman Date: Wed, 28 Oct 2015 09:32:47 -0400 > Well I'm not sure why my test kernel booted, while the test robot > found the bug of GFP_KERNEL percpu counter alloc during atomic > context. Thanks test robot! It's because of the kernel config options you (don't) have enabled. -- To

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Hannes Frederic Sowa
Hello, On Wed, Oct 28, 2015, at 14:32, Dan Streetman wrote: > On Tue, Oct 27, 2015 at 12:15 PM, wrote: > > From: Dan Streetman > > > > The ipv4 and ipv6 xfrms each create a template dst_ops object, and > > perform dst_entries_init() on the template objects. Then each net > > namespace has its

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Dan Streetman
On Tue, Oct 27, 2015 at 12:15 PM, wrote: > From: Dan Streetman > > The ipv4 and ipv6 xfrms each create a template dst_ops object, and > perform dst_entries_init() on the template objects. Then each net > namespace has its net.xfrm.xfrm[46]_dst_ops field set to the template > values. The proble

[PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-27 Thread dan . streetman
From: Dan Streetman The ipv4 and ipv6 xfrms each create a template dst_ops object, and perform dst_entries_init() on the template objects. Then each net namespace has its net.xfrm.xfrm[46]_dst_ops field set to the template values. The problem with that is the dst_ops.pcpuc_entries field is a pe