Re: [PATCH] net-ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()

2019-09-07 Thread David Miller
From: Maciej Żenczykowski Date: Thu, 5 Sep 2019 20:56:37 -0700 > From: Maciej Żenczykowski > > 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

Re: [PATCH] net-ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()

2019-09-05 Thread Eric Dumazet
On Fri, Sep 6, 2019 at 5:56 AM Maciej Żenczykowski wrote: > > From: Maciej Żenczykowski > > 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 > loca

[PATCH] net-ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()

2019-09-05 Thread Maciej Żenczykowski
From: Maciej Żenczykowski 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 Cc: Lorenzo Colitti Cc: Eric Du