mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
The cleanup path will put the target net when netnsid is set. So we must reset netnsid if the input is invalid. Fixes:d7e38611b8("net/ipv4: Put target net when address dump fails due to bad attributes") Fixes:242afaa696("net/ipv6: Put target net when address dump fails due to bad attributes") Cc: David Ahern <dsahern@gmail.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2677 lines
66 KiB
2677 lines
66 KiB