Re: [PATCH net] ip_tunnel: fix preempt warning in ip tunnel creation/updating

2016-04-29 Thread David Miller
From: Paolo Abeni Date: Thu, 28 Apr 2016 11:04:51 +0200 > After the commit e09acddf873b ("ip_tunnel: replace dst_cache with generic > implementation"), a preemption debug warning is triggered on ip4 > tunnels updating; the dst cache helper needs to be invoked in unpreemptible > context. > > We d

Re: [PATCH net] ip_tunnel: fix preempt warning in ip tunnel creation/updating

2016-04-28 Thread Paolo Abeni
On Thu, 2016-04-28 at 05:09 -0700, Eric Dumazet wrote: > On Thu, 2016-04-28 at 11:04 +0200, Paolo Abeni wrote: > > After the commit e09acddf873b ("ip_tunnel: replace dst_cache with generic > > implementation"), a preemption debug warning is triggered on ip4 > > tunnels updating; the dst cache helpe

Re: [PATCH net] ip_tunnel: fix preempt warning in ip tunnel creation/updating

2016-04-28 Thread Eric Dumazet
On Thu, 2016-04-28 at 11:04 +0200, Paolo Abeni wrote: > After the commit e09acddf873b ("ip_tunnel: replace dst_cache with generic > implementation"), a preemption debug warning is triggered on ip4 > tunnels updating; the dst cache helper needs to be invoked in unpreemptible > context. > > We don't

[PATCH net] ip_tunnel: fix preempt warning in ip tunnel creation/updating

2016-04-28 Thread Paolo Abeni
After the commit e09acddf873b ("ip_tunnel: replace dst_cache with generic implementation"), a preemption debug warning is triggered on ip4 tunnels updating; the dst cache helper needs to be invoked in unpreemptible context. We don't need to load the cache on tunnel update, so this commit fixes the