summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2018-06-19 17:23:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:26:55 +0200
commitc5df06baac86afb3dfd69d7b865cf9e5d13c81f4 (patch)
tree4f102fbd9bff9919e2d0edac19adc302e9dbe6a1 /arch/arc
parente5bfd8e707375eaa67c775e69ded5b8f104a80db (diff)
net: propagate dev_get_valid_name return code
[ Upstream commit 7892bd081045222b9e4027fec279a28d6fe7aa66 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions