OSDN Git Service

xfrm: ifdef setsockopt(UDP_ENCAP_ESPINUDP/UDP_ENCAP_ESPINUDP_NON_IKE)
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 3 Oct 2019 21:21:57 +0000 (00:21 +0300)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 9 Oct 2019 04:55:32 +0000 (06:55 +0200)
commitfd1ac07f3f17fbbc2f08e3b43951bed937d86a7b
tree2c3287054759e9c68e2cfb0db28dc42887677abb
parent4361f5b6118ad77872f54f813321aa4905a7e9c1
xfrm: ifdef setsockopt(UDP_ENCAP_ESPINUDP/UDP_ENCAP_ESPINUDP_NON_IKE)

If IPsec is not configured, there is no reason to delay the inevitable.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/ipv4/udp.c