Explorar o código

net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n

Fixed build errors introduced by commit 7ad6848c (ip: fix mc_loop
checks for tunnels with multicast outer addresses)

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Octavian Purdila %!s(int64=15) %!d(string=hai) anos
pai
achega
cd65c3c7d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/net/ip.h

+ 1 - 1
include/net/ip.h

@@ -338,7 +338,7 @@ static inline int sk_mc_loop(struct sock *sk)
 		return inet6_sk(sk)->mc_loop;
 #endif
 	}
-	__WARN();
+	WARN_ON(1);
 	return 1;
 }