Re: [PATCH v2] net: Fix RCU splat in af_key

2015-08-24 Thread David Miller
From: David Ahern Date: Mon, 24 Aug 2015 15:17:17 -0600 > Hit the following splat testing VRF change for ipsec: ... > In pfkey_sendmsg the net mutex is taken and then pfkey_broadcast takes > the RCU lock. > > Since pfkey_broadcast takes the RCU lock the allocation argument is > pointless since

Re: [PATCH v2] net: Fix RCU splat in af_key

2015-08-24 Thread Eric Dumazet
On Mon, 2015-08-24 at 15:17 -0600, David Ahern wrote: > Hit the following splat testing VRF change for ipsec: > > In pfkey_sendmsg the net mutex is taken and then pfkey_broadcast takes > the RCU lock. > > Since pfkey_broadcast takes the RCU lock the allocation argument is > pointless since GFP_A

[PATCH v2] net: Fix RCU splat in af_key

2015-08-24 Thread David Ahern
Hit the following splat testing VRF change for ipsec: [ 113.475692] === [ 113.476194] [ INFO: suspicious RCU usage. ] [ 113.476667] 4.2.0-rc6-1+deb7u2+clUNRELEASED #3.2.65-1+deb7u2+clUNRELEASED Not tainted [ 113.477545] --- [ 113.478013