diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-09-05 20:56:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-19 09:10:49 +0200 |
commit | e33190acd5887ca558837035389ed20aee039c1d (patch) | |
tree | 21313a21dd7f9c55d104aa080ec63d9b04bd3b2a /include | |
parent | e854b3329bd928cb9c3d5bcced67b1a44419d2b7 (diff) | |
download | linux-stable-e33190acd5887ca558837035389ed20aee039c1d.tar.gz linux-stable-e33190acd5887ca558837035389ed20aee039c1d.tar.bz2 linux-stable-e33190acd5887ca558837035389ed20aee039c1d.zip |
ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
[ Upstream commit 8652f17c658d03f5c87b8dee6e8e52480c6cd37d ]
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@gmail.com>
Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions