summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2018-06-19 12:23:17 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-20 02:12:57 +0300
commit7892bd081045222b9e4027fec279a28d6fe7aa66 (patch)
treeac435c2ffe7e6a17d7ff3133999c4dd30f21309e /net/unix/af_unix.c
parent56f772279a762984f6e9ebbf24a7c829faba5712 (diff)
downloadlinux-7892bd081045222b9e4027fec279a28d6fe7aa66.tar.xz
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions