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

2018-03-15 Thread Taehee Yoo
2018-03-15 19:48 GMT+09:00 Steffen Klassert : > On Tue, Mar 13, 2018 at 05:26:07PM +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. >> >> Signed-off-by: Taehee

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

2018-03-15 Thread Steffen Klassert
On Tue, Mar 13, 2018 at 05:26:07PM +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. > > Signed-off-by: Taehee Yoo Can you please add a 'Fixes:' tag, so that it

[PATCH] xfrm: fix rcu_read_unlock usage in xfrm_local_error

2018-03-13 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. Signed-off-by: Taehee Yoo --- net/xfrm/xfrm_output.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/xfrm/xfrm_ou