Subject: Re: [RFC] add extack errors for iptoken

From: Stephen Hemminger <[email-masked]>
Date: Thu, 1 Apr 2021 08:06:40 -0700

On Thu, 1 Apr 2021 08:31:05 -0600
David Ahern <[email-masked]> wrote:

> On 3/31/21 9:49 PM, Stephen Hemminger wrote:
> > @@ -5681,14 +5682,29 @@ static int inet6_set_iftoken(struct inet6_dev *idev, struct in6_addr *token)
> >  
> >  	ASSERT_RTNL();
> >  
> > -	if (!token)
> > +	if (!token) {  
> 
> You forgot to add a message here.

This branch is unreachable, function is  only called from place where it is not NULL.