Re: [PATCH] net: add mutex_unlock on xfrm4_protocol_register

2018-04-18 Thread Steffen Klassert
On Thu, Apr 19, 2018 at 09:08:57AM +0800, sunlianwen wrote: > The function of xfrm4_protocol_register() don't release > the mutx lock, which potential cause deadlock. Can you please explain how this can happen? > > Signed-off-by: Lianwen Sun > --- >

[PATCH] net: add mutex_unlock on xfrm4_protocol_register

2018-04-18 Thread sunlianwen
The function of xfrm4_protocol_register() don't release the mutx lock, which potential cause deadlock. Signed-off-by: Lianwen Sun --- net/ipv4/xfrm4_protocol.c | 4 1 file changed, 4 insertions(+) diff --git a/net/ipv4/xfrm4_protocol.c