diff options
| author | David Ahern <dsahern@gmail.com> | 2018-09-28 22:28:41 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-10-02 09:22:04 +0300 |
| commit | 893626d6a353d1356528f94e081246ecf233d77a (patch) | |
| tree | 821ff67bbcd539aa5dbe7b97066a625dbf5ef95f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 7f6d6558ae44bc193eb28df3617c364d3bb6df39 (diff) | |
| download | linux-893626d6a353d1356528f94e081246ecf233d77a.tar.xz | |
rtnetlink: Fail dump if target netnsid is invalid
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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
