aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-04-12 10:14:46 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2019-04-15 11:09:20 +0200
commite54d1527658f2226c1f63d6fb76fa9b97d1c3947 (patch)
tree2062d8cedf8b064a4282511db1b5c18d23c43869 /net/xfrm/xfrm_policy.c
parentxfrm: store xfrm_mode directly, not its address (diff)
downloadlinux-dev-e54d1527658f2226c1f63d6fb76fa9b97d1c3947.tar.xz
linux-dev-e54d1527658f2226c1f63d6fb76fa9b97d1c3947.zip
xfrm: kconfig: make xfrm depend on inet
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 ipv6 so change dependency to INET and place user-visible options (pfkey sockets, migrate support and the like) under 'if INET' guard as well. Fixes: 1de70830066b7 ("xfrm: remove output2 indirection from xfrm_mode") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions