All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 0/3] Improve tunnel local/remote endpoint params and gre link attribute handling
@ 2017-12-13 19:35 Serhey Popovych
  2017-12-13 19:36 ` [PATCH iproute2 1/3] ip/tunnel: Unify setup and accept zero address for local/remote endpoints Serhey Popovych
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Serhey Popovych @ 2017-12-13 19:35 UTC (permalink / raw)
  To: netdev

In this series following problems addressed:

  1) Size of IFLA_GRE_LINK attribute is 32 bits long in , not 8 bit.

  2) Use get_addr() instead of get_prefix() to parse local/remote
     tunnel endpoints as IPADDR, not PREFIX as per ip-link(8).

  3) No need to check if local/remote endpoints are zero (e.g. INADDR_ANY):
     it is fully legal value, accepted by the kernel.

See individual patch description message for details.

Thanks,
Serhii

Serhey Popovych (3):
  ip/tunnel: Unify setup and accept zero address for local/remote
    endpoints
  ip/tunnel: Use get_addr() instead of get_prefix() for local/remote
    endpoints
  ip: gre: fix IFLA_GRE_LINK attribute sizing

 ip/ip6tunnel.c   |    8 ++------
 ip/iptunnel.c    |   10 ++--------
 ip/link_gre.c    |    8 +++-----
 ip/link_gre6.c   |    8 ++------
 ip/link_ip6tnl.c |   12 ++++--------
 ip/link_iptnl.c  |   10 ++--------
 ip/link_vti.c    |   14 ++------------
 ip/link_vti6.c   |   26 ++++++++------------------
 8 files changed, 25 insertions(+), 71 deletions(-)

-- 
1.7.10.4

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 19:35 [PATCH iproute2 0/3] Improve tunnel local/remote endpoint params and gre link attribute handling Serhey Popovych
2017-12-13 19:36 ` [PATCH iproute2 1/3] ip/tunnel: Unify setup and accept zero address for local/remote endpoints Serhey Popovych
2017-12-13 19:36 ` [PATCH iproute2 2/3] ip/tunnel: Use get_addr() instead of get_prefix() " Serhey Popovych
2017-12-13 19:36 ` [PATCH iproute2 3/3] ip: gre: fix IFLA_GRE_LINK attribute sizing Serhey Popovych
2017-12-16 18:10 ` [PATCH iproute2 0/3] Improve tunnel local/remote endpoint params and gre link attribute handling Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.