[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190729125221.00baf700@redhat.com>
Date: Mon, 29 Jul 2019 12:52:21 +0200
From: Jiri Benc <jbenc@...hat.com>
To: Jia-Ju Bai <baijiaju1990@...il.com>
Cc: davem@...emloft.net, sbrivio@...hat.com, sd@...asysnail.net,
liuhangbin@...il.com, dsahern@...il.com, natechancellor@...il.com,
tglx@...utronix.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: geneve: Fix a possible null-pointer dereference in
geneve_link_config()
On Mon, 29 Jul 2019 12:30:55 +0200, Jiri Benc wrote:
> Are you sure rt6_lookup can never return a non-NULL rt with rt->dst.dev
> being NULL? You'd leak the reference in such case.
In fact, you're introducing a bug, not fixing one. ip6_rt_put does
accept NULL parameter. And it seems you already have been told that?
Nacked-by: Jiri Benc <jbenc@...hat.com>
Jiri
Powered by blists - more mailing lists