[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <740bc515-3eda-895c-95d1-8785d947ff35@gmail.com>
Date: Thu, 25 Oct 2018 14:16:08 -0600
From: David Ahern <dsahern@...il.com>
To: Bjørn Mork <bjorn@...k.no>, netdev@...r.kernel.org
Cc: Li RongQing <lirongqing@...du.com>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH] net/{ipv4,ipv6}: Do not put target net if input nsid is
invalid
On 10/25/18 1:18 PM, Bjørn Mork wrote:
> The cleanup path will put the target net when netnsid is set. So we must
> reset netnsid if the input is invalid.
>
> Fixes: d7e38611b81e ("net/ipv4: Put target net when address dump fails due to bad attributes")
> Fixes: 242afaa6968c ("net/ipv6: Put target net when address dump fails due to bad attributes")
> Cc: David Ahern <dsahern@...il.com>
> Signed-off-by: Bjørn Mork <bjorn@...k.no>
> ---
> net/ipv4/devinet.c | 1 +
> net/ipv6/addrconf.c | 1 +
> 2 files changed, 2 insertions(+)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists