Re: [PATCH] net/{ipv4,ipv6}: Do not put target net if input nsid is invalid

2018-10-25 Thread David Miller
From: Bjørn Mork Date: Thu, 25 Oct 2018 21:18:25 +0200 > 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

Re: [PATCH] net/{ipv4,ipv6}: Do not put target net if input nsid is invalid

2018-10-25 Thread David Ahern
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

[PATCH] net/{ipv4,ipv6}: Do not put target net if input nsid is invalid

2018-10-25 Thread Bjørn Mork
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