From 02730e1fb7ffda68f16abdf310d36fabc4e25154 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Sat, 27 Dec 2014 17:36:23 +0100 Subject: [PATCH] genetlink: Comment out WARN_ON() in genl_bind() Signed-off-by: Sedat Dilek --- net/netlink/genetlink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 05bf40b..3637369 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c @@ -1008,8 +1008,10 @@ static int genl_bind(int group) } up_read(&cb_lock); +#if 0 if (WARN_ON(!found)) err = 0; +#endif return err; } -- 2.2.1