]> git.proxmox.com Git - mirror_iproute2.git/commit - include/utils.h
make format_host non-reentrant by default
authorPhil Sutter <phil@nwl.cc>
Tue, 22 Mar 2016 18:35:15 +0000 (19:35 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 27 Mar 2016 17:37:34 +0000 (10:37 -0700)
commita418e451643e77fe36861e53359587ba8aa41873
tree11b733b2f472eb1b337ec1dc6dba9290e13dc250
parentff9d8f3728aff0115aa672280d06c0907eb35bbe
make format_host non-reentrant by default

There are only three users which require it to be reentrant, the rest is
fine without. Instead, provide a reentrant format_host_r() for users
which need it.

Signed-off-by: Phil Sutter <phil@nwl.cc>
23 files changed:
bridge/fdb.c
include/utils.h
ip/ip6tunnel.c
ip/ipaddress.c
ip/ipaddrlabel.c
ip/iplink_geneve.c
ip/iplink_vxlan.c
ip/ipmaddr.c
ip/ipneigh.c
ip/iproute.c
ip/iproute_lwtunnel.c
ip/iprule.c
ip/iptoken.c
ip/iptunnel.c
ip/link_gre.c
ip/link_gre6.c
ip/link_iptnl.c
ip/link_vti.c
ip/link_vti6.c
ip/tcp_metrics.c
lib/utils.c
misc/ss.c
tc/m_nat.c