]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n
authorOctavian Purdila <opurdila@ixiacom.com>
Thu, 14 Jan 2010 02:10:36 +0000 (18:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 02:10:36 +0000 (18:10 -0800)
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>
include/net/ip.h

index d9a0e74d8923731ff60c41fde87b48ec936f59d1..fb63371c07a8e90ab277add8153dea6b5b2a0371 100644 (file)
@@ -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;
 }