Skip to content

Commit

Permalink
net: fix build erros with CONFIG_BUG=n, CONFIG_GENERIC_BUG=n
Browse files Browse the repository at this point in the history
Fixed build errors introduced by commit 7ad6848 (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>
  • Loading branch information
Octavian Purdila authored and David S. Miller committed Jan 14, 2010
1 parent 2570a4f commit cd65c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cd65c3c

Please sign in to comment.