Subject: Re: [PATCH iproute2] libnetlink: don't confuse variables in rtnl_talk()

From: Stephen Hemminger <[email-masked]>
Date: Thu, 10 Dec 2015 08:49:29 -0800

On Thu,  3 Dec 2015 17:13:48 +0100
Nicolas Dichtel <[email-masked]> wrote:

> There is two variables named 'len' in rtnl_talk. In fact, commit
> c079e121a73a didn't work. For example, it was possible to trigger
> a seg fault with this command:
> $ ip link set gre2 type ip6gre hoplimit 32
> 
> Let's rename the argument len to maxlen.
> 
> Fixes: c079e121a73a ("libnetlink: add size argument to rtnl_talk")
> Reported-by: Thomas Faivre <[email-masked]>
> Signed-off-by: Nicolas Dichtel <[email-masked]>

Applied, thanks, Not sure why compiler isn't catching this.