summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorOctavian Purdila <opurdila@ixiacom.com>2010-01-14 03:10:36 +0100
committerDavid S. Miller <davem@davemloft.net>2010-01-14 03:10:36 +0100
commitcd65c3c7d1081290b7365897c2290a84aa967d4d (patch)
treee68ac534c2701dd6ec98fa2af3a2d1eaf609d0fe /include/net/ip.h
parentipv6: skb_dst() can be NULL in ipv6_hop_jumbo(). (diff)
downloadlinux-cd65c3c7d1081290b7365897c2290a84aa967d4d.tar.xz
linux-cd65c3c7d1081290b7365897c2290a84aa967d4d.zip
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>
Diffstat (limited to '')
-rw-r--r--include/net/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index d9a0e74d8923..fb63371c07a8 100644
--- a/include/net/ip.h
+++ b/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;
}