libteam: do not touch existing orig hwaddr in case it is not provided in NL message

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: set team hwaddr by first enslaved device

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: keep track of ifinfos of all machine interfaces

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: skip setting hwaddr by port if it is not present

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: use nl_send_auto instead of nl_send_auto_complete

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: free nl msg right after send

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: revision of send_and_recv()

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: check for error in sock_event_handler()

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
misc: introduce mystrlcpy

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: get rid of link_cache

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
libteam: convert orig hwaddr facility to use ifinfo infrastructure

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: json: allow to build path with custom type

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: allow to change config json internally

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
teamd: update devname in config in case it is specified as cmdline arg

Signed-off-by: Jiri Pirko <jiri@resnulli.us>