Re: [PATCH ipsec-next] xfrm: kconfig: make xfrm depend on inet

2019-04-16 Thread Steffen Klassert
On Fri, Apr 12, 2019 at 10:14:46AM +0200, Florian Westphal wrote: > when CONFIG_INET is not enabled: > net/xfrm/xfrm_output.c: In function ‘xfrm4_tunnel_encap_add’: > net/xfrm/xfrm_output.c:234:2: error: implicit declaration of function > ‘ip_select_ident’ [-Werror=implicit-function-declaration] >

Re: [PATCH ipsec-next] xfrm: kconfig: make xfrm depend on inet

2019-04-12 Thread Randy Dunlap
On 4/12/19 1:14 AM, Florian Westphal wrote: > when CONFIG_INET is not enabled: > net/xfrm/xfrm_output.c: In function ‘xfrm4_tunnel_encap_add’: > net/xfrm/xfrm_output.c:234:2: error: implicit declaration of function > ‘ip_select_ident’ [-Werror=implicit-function-declaration] > ip_select_ident(dev_n

[PATCH ipsec-next] xfrm: kconfig: make xfrm depend on inet

2019-04-12 Thread Florian Westphal
when CONFIG_INET is not enabled: net/xfrm/xfrm_output.c: In function ‘xfrm4_tunnel_encap_add’: net/xfrm/xfrm_output.c:234:2: error: implicit declaration of function ‘ip_select_ident’ [-Werror=implicit-function-declaration] ip_select_ident(dev_net(dst->dev), skb, NULL); XFRM only supports ipv4 and