summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-09-28 12:28:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-18 09:18:10 +0200
commit5d4fe8e6344bac8703046822685b3af217db683c (patch)
tree3f6792108f0a97f8a51ce39f90802b76077a0cce /drivers
parent36298c66d8dca213888f42181a87afb522381552 (diff)
rtnetlink: Fail dump if target netnsid is invalid
[ Upstream commit 893626d6a353d1356528f94e081246ecf233d77a ] Link dumps can return results from a target namespace. If the namespace id is invalid, then the dump request should fail if get_target_net fails rather than continuing with a dump of the current namespace. Fixes: 79e1ad148c844 ("rtnetlink: use netnsid to query interface") Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions