Re: [PATCH V2] xfrm: fix rcu_read_unlock usage in xfrm_local_error

2018-03-18 Thread Steffen Klassert
On Fri, Mar 16, 2018 at 11:35:51AM +0900, Taehee Yoo wrote: > In the xfrm_local_error, rcu_read_unlock should be called when afinfo > is not NULL. because xfrm_state_get_afinfo calls rcu_read_unlock > if afinfo is NULL. > > Fixes: af5d27c4e12b ("xfrm: remove xfrm_state_put_afinfo") > Signed-off-by

[PATCH V2] xfrm: fix rcu_read_unlock usage in xfrm_local_error

2018-03-15 Thread Taehee Yoo
In the xfrm_local_error, rcu_read_unlock should be called when afinfo is not NULL. because xfrm_state_get_afinfo calls rcu_read_unlock if afinfo is NULL. Fixes: af5d27c4e12b ("xfrm: remove xfrm_state_put_afinfo") Signed-off-by: Taehee Yoo --- V2 : - Add Fixes tag V1 : - Initial patch net/xf