netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 0/4] ip/tunnel: Minor cleanups and improvements
@ 2018-01-19 16:43 Serhey Popovych
  2018-01-19 16:44 ` [PATCH iproute2 1/4] tunnel: Add space between encap-dport and encap-sport in non-JSON output Serhey Popovych
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Serhey Popovych @ 2018-01-19 16:43 UTC (permalink / raw)
  To: netdev

It is small series of fixes and code cleanups:

  1) Add space after encap-[ds]port parameter value
     in tunnel encapsulation options output.

  2) Unify ttl/hoplimit parsing routines by using
     get_u8(), handling "inherit" and "hlim" as
     alias to "hoplimit" and "ttl" parameter name.

  3) Report when unable to resolve vti tunnel link
     instead of silently quitting and use __u32
     for fwmark istead of unsigned int to match
     with rest of tunneling code.

  4) Use ll_name_to_index() instead of if_nametoindex()
     to make ip(8) output and input parameter acceptance
     coherent.

See individual patch description message for details.

Thanks,
Serhii

Serhey Popovych (4):
  tunnel: Add space between encap-dport and encap-sport in non-JSON
    output
  iptnl/ip6tnl: Unify ttl/hoplimit parsing routines
  vti/vti6: Minor improvements
  iplink: Use ll_name_to_index() instead of if_nametoindex()

 bridge/fdb.c          |    4 ++--
 bridge/mdb.c          |    2 +-
 bridge/vlan.c         |    2 +-
 ip/iplink_bond.c      |    4 ++--
 ip/iplink_bridge.c    |    2 +-
 ip/iplink_vxlan.c     |    2 +-
 ip/iproute_lwtunnel.c |    4 ++--
 ip/link_gre.c         |   12 ++++--------
 ip/link_gre6.c        |   15 ++++++++-------
 ip/link_ip6tnl.c      |   16 ++++++++--------
 ip/link_iptnl.c       |    5 +++--
 ip/link_vti.c         |    4 ++--
 ip/link_vti6.c        |    8 +++++---
 ip/tunnel.c           |    4 ++--
 14 files changed, 42 insertions(+), 42 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2018-01-23 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 16:43 [PATCH iproute2 0/4] ip/tunnel: Minor cleanups and improvements Serhey Popovych
2018-01-19 16:44 ` [PATCH iproute2 1/4] tunnel: Add space between encap-dport and encap-sport in non-JSON output Serhey Popovych
2018-01-19 16:44 ` [PATCH iproute2 2/4] iptnl/ip6tnl: Unify ttl/hoplimit parsing routines Serhey Popovych
2018-01-19 16:44 ` [PATCH iproute2 3/4] vti/vti6: Minor improvements Serhey Popovych
2018-01-19 16:44 ` [PATCH iproute2 4/4] iplink: Use ll_name_to_index() instead of if_nametoindex() Serhey Popovych
2018-01-23 22:52 ` [PATCH iproute2 0/4] ip/tunnel: Minor cleanups and improvements 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).