netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 0/3] ip/tunnels: Reuse code, vti6 zero endpoint support and minor cleanup
@ 2017-12-18 17:48 Serhey Popovych
  2017-12-18 17:48 ` [PATCH iproute2 1/3] ip/tunnel: Use tnl_parse_key() to parse tunnel key Serhey Popovych
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Serhey Popovych @ 2017-12-18 17:48 UTC (permalink / raw)
  To: netdev

In this series I present next set of improvements:

  1) Use tnl_parse_key() to avoid code duplication in tunnel
     configuration via netlink code.

  2) Trivial: use IN6ADDR_ANY_INIT instead of open coded
     initialization of local/remote endpoint in ip6tnl code.

  3) Trivial: drop additional checks for zero endpoint
     in vti6 code. This completes and unifies support for
     unconfiguring local/remote endpoint for tunnel.

See individual patch description message for details.

Thanks,
Serhii

Serhey Popovych (3):
  ip/tunnel: Use tnl_parse_key() to parse tunnel key
  link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote
    endpoints
  link_vti6: Always add local/remote endpoint attributes

 ip/link_gre.c    |   45 +++++----------------------------------------
 ip/link_gre6.c   |   45 +++++----------------------------------------
 ip/link_ip6tnl.c |    4 ++--
 ip/link_vti.c    |   45 +++++----------------------------------------
 ip/link_vti6.c   |   51 +++++++--------------------------------------------
 ip/tunnel.c      |    5 +++--
 6 files changed, 27 insertions(+), 168 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-19 16:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 17:48 [PATCH iproute2 0/3] ip/tunnels: Reuse code, vti6 zero endpoint support and minor cleanup Serhey Popovych
2017-12-18 17:48 ` [PATCH iproute2 1/3] ip/tunnel: Use tnl_parse_key() to parse tunnel key Serhey Popovych
2017-12-18 17:48 ` [PATCH iproute2 2/3] link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote endpoints Serhey Popovych
2017-12-18 17:48 ` [PATCH iproute2 3/3] link_vti6: Always add local/remote endpoint attributes Serhey Popovych
2017-12-19 16:19 ` [PATCH iproute2 0/3] ip/tunnels: Reuse code, vti6 zero endpoint support and minor cleanup Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).