projects
/
cascardo
/
linux.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)
[cascardo/linux.git]
/
include
/
net
/
sctp
/
structs.h
diff --git
a/include/net/sctp/structs.h
b/include/net/sctp/structs.h
index
3382615
..
ad0e31b
100644
(file)
--- a/
include/net/sctp/structs.h
+++ b/
include/net/sctp/structs.h
@@
-365,7
+365,7
@@
static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp)
return (struct sock *)sp;
}
-#if
defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE
)
+#if
IS_ENABLED(CONFIG_IPV6
)
struct sctp6_sock {
struct sctp_sock sctp;
struct ipv6_pinfo inet6;