Skip to content

Commit 95a35b4

Browse files
qsnklassert
authored andcommitted
xfrm: policy: fix IPv6-only espintcp compilation
In case we're compiling espintcp support only for IPv6, we should still initialize the common code. Fixes: 26333c3 ("xfrm: add IPv6 support for espintcp") Signed-off-by: Sabrina Dubroca <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
1 parent e229c87 commit 95a35b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/xfrm/xfrm_policy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#ifdef CONFIG_XFRM_STATISTICS
4040
#include <net/snmp.h>
4141
#endif
42-
#ifdef CONFIG_INET_ESPINTCP
42+
#ifdef CONFIG_XFRM_ESPINTCP
4343
#include <net/espintcp.h>
4444
#endif
4545

@@ -4149,7 +4149,7 @@ void __init xfrm_init(void)
41494149
seqcount_init(&xfrm_policy_hash_generation);
41504150
xfrm_input_init();
41514151

4152-
#ifdef CONFIG_INET_ESPINTCP
4152+
#ifdef CONFIG_XFRM_ESPINTCP
41534153
espintcp_init();
41544154
#endif
41554155

0 commit comments

Comments
 (0)