projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use IS_ENABLED(CONFIG_IPV6)
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
net
/
netfilter
/
nf_tproxy_core.h
diff --git
a/include/net/netfilter/nf_tproxy_core.h
b/include/net/netfilter/nf_tproxy_core.h
index e505358d89993c44720529a9890162a25518248f..75ca9291cf2ce307a8e54dec8a559a65069945f9 100644
(file)
--- a/
include/net/netfilter/nf_tproxy_core.h
+++ b/
include/net/netfilter/nf_tproxy_core.h
@@
-131,7
+131,7
@@
nf_tproxy_get_sock_v4(struct net *net, const u8 protocol,
return sk;
}
-#if
defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE
)
+#if
IS_ENABLED(CONFIG_IPV6
)
static inline struct sock *
nf_tproxy_get_sock_v6(struct net *net, const u8 protocol,
const struct in6_addr *saddr, const struct in6_addr *daddr,