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 <dsah...@gmail.com> > Signed-off-by: Bjørn Mork <bj...@mork.no> > --- > net/ipv4/devinet.c | 1 + > net/ipv6/addrconf.c | 1 + > 2 files changed, 2 insertions(+) >
Reviewed-by: David Ahern <dsah...@gmail.com>