[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKieZm8B+cB=mjK6jumM2koS+0Ae64STw_h_GCKom2vYQ@mail.gmail.com>
Date: Fri, 6 Sep 2019 07:10:19 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: Maciej Żenczykowski <maze@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, David Ahern <dsahern@...il.com>,
Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH] net-ipv6: addrconf_f6i_alloc - fix non-null pointer check
to !IS_ERR()
On Fri, Sep 6, 2019 at 5:56 AM Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
>
> From: Maciej Żenczykowski <maze@...gle.com>
>
> Fixes a stupid bug I recently introduced...
> ip6_route_info_create() returns an ERR_PTR(err) and not a NULL on error.
>
> Fixes: d55a2e374a94 ("net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)'")
> Cc: David Ahern <dsahern@...il.com>
> Cc: Lorenzo Colitti <lorenzo@...gle.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
> ---
Reported-by: syzbot <syzkaller@...glegroups.com>
Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Thanks.
Powered by blists - more mailing lists