diff options
author | 2018-06-19 17:23:17 +0800 | |
---|---|---|
committer | 2018-06-20 08:12:57 +0900 | |
commit | 7892bd081045222b9e4027fec279a28d6fe7aa66 (patch) | |
tree | ac435c2ffe7e6a17d7ff3133999c4dd30f21309e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | enic: do not overwrite error code (diff) | |
download | linux-dev-7892bd081045222b9e4027fec279a28d6fe7aa66.tar.xz linux-dev-7892bd081045222b9e4027fec279a28d6fe7aa66.zip |
net: propagate dev_get_valid_name return code
if dev_get_valid_name failed, propagate its return code
and remove the setting err to ENODEV, it will be set to
0 again before dev_change_net_namespace exits.
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions