[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210401080640.34cc6777@hermes.local>
Date: Thu, 1 Apr 2021 08:06:40 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Ahern <dsahern@...il.com>
Cc: Hongren Zheng <i@...ithal.me>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org
Subject: Re: [RFC] add extack errors for iptoken
On Thu, 1 Apr 2021 08:31:05 -0600
David Ahern <dsahern@...il.com> 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.
Powered by blists - more mailing lists