]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/link_vti6.c
ip/tunnel: Unify setup and accept zero address for local/remote endpoints
authorSerhey Popovych <serhe.popovych@gmail.com>
Wed, 13 Dec 2017 19:36:00 +0000 (21:36 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 16 Dec 2017 18:08:54 +0000 (10:08 -0800)
commit57daab1e701e5853870bb43e0ff7c151dbddfe9f
tree4f5cb769e4c3f68ea825034ad9d19a503a329dc9
parent1eccc5734148c9e4e1e4db7aaa33bccaa24c2257
ip/tunnel: Unify setup and accept zero address for local/remote endpoints

It is fully legal to submit zero (INADDR_ANY/IN6ADDR_ANY_INIT)
value for local and/or remote endpoints for all tunnel drivers:
no need additionally check this in userspace.

Note that all tunnel specific code already can pass zero address
to the kernel.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
ip/iptunnel.c
ip/link_gre.c
ip/link_iptnl.c
ip/link_vti.c
ip/link_vti6.c