mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
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>
This commit is contained in:
parent
2570a4f542
commit
cd65c3c7d1
@ -338,7 +338,7 @@ static inline int sk_mc_loop(struct sock *sk)
|
|||||||
return inet6_sk(sk)->mc_loop;
|
return inet6_sk(sk)->mc_loop;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
__WARN();
|
WARN_ON(1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user