mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
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: 26333c37fc
("xfrm: add IPv6 support for espintcp")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
e229c877cd
commit
95a35b42bc
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
|||
#ifdef CONFIG_XFRM_STATISTICS
|
||||
#include <net/snmp.h>
|
||||
#endif
|
||||
#ifdef CONFIG_INET_ESPINTCP
|
||||
#ifdef CONFIG_XFRM_ESPINTCP
|
||||
#include <net/espintcp.h>
|
||||
#endif
|
||||
|
||||
|
@ -4149,7 +4149,7 @@ void __init xfrm_init(void)
|
|||
seqcount_init(&xfrm_policy_hash_generation);
|
||||
xfrm_input_init();
|
||||
|
||||
#ifdef CONFIG_INET_ESPINTCP
|
||||
#ifdef CONFIG_XFRM_ESPINTCP
|
||||
espintcp_init();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue