Re: [PATCH iproute2 0/2] ip/tunnel: Do not free() answer on rtnl_talk() error, correct ip6gre

2017-12-26 Thread Stephen Hemminger
On Wed, 20 Dec 2017 09:57:08 +0200 Serhey Popovych wrote: > In this series I present next set of improvements/fixes: > > 1) If rtnl_talk(), called with answer != NULL fails it > never returns with allocated answer: no need to > initialize answer and free() it in the caller on error.

[PATCH iproute2 0/2] ip/tunnel: Do not free() answer on rtnl_talk() error, correct ip6gre

2017-12-19 Thread Serhey Popovych
In this series I present next set of improvements/fixes: 1) If rtnl_talk(), called with answer != NULL fails it never returns with allocated answer: no need to initialize answer and free() it in the caller on error. 2) Correct ip6gre print endpoint address printing with ll_addr