Re: [PATCH -next] fou: Fix missing unlock on error in fou_nl_dump()

2015-04-16 Thread David Miller
From: weiyj...@163.com Date: Thu, 16 Apr 2015 20:14:39 +0800 > From: Wei Yongjun > > Add the missing unlock before return from function fou_nl_dump() > in the error handling case. > > Fixes: 7a6c8c34e5b7 (fou: implement FOU_CMD_GET) > Signed-off-by: Wei Yongjun Your patch adds a warning becau

[PATCH -next] fou: Fix missing unlock on error in fou_nl_dump()

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Add the missing unlock before return from function fou_nl_dump() in the error handling case. Fixes: 7a6c8c34e5b7 (fou: implement FOU_CMD_GET) Signed-off-by: Wei Yongjun --- net/ipv4/fou.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/fou.c b/net