Commit 555b4888 authored by Andrea Claudi's avatar Andrea Claudi Committed by Zheng Zengkai
Browse files

selftest: net: fix typo in altname test

stable inclusion
from stable-5.10.68
commit e00eae1d6b1fb8eecb1250fdcadcc97ea391cbe5
bugzilla: 182671 https://gitee.com/openeuler/kernel/issues/I4EWUH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e00eae1d6b1fb8eecb1250fdcadcc97ea391cbe5



--------------------------------

commit 1b704b27 upstream.

If altname deletion of the short alternative name fails, the error
message printed is: "Failed to add short alternative name".
This is obviously a typo, as we are testing altname deletion.

Fix this using a proper error message.

Fixes: f95e6c9c ("selftest: net: add alternative names test")
Signed-off-by: default avatarAndrea Claudi <aclaudi@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent e22e34c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment