Commit b9a0a6d0 authored by Hongbin Wang's avatar Hongbin Wang Committed by Zheng Zengkai
Browse files

vxlan: fix error return code in vxlan_fdb_append

stable inclusion
from stable-v5.10.113
commit e129c55153c8aba74e4c73451399f12dacf6347d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5ISAH

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



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

[ Upstream commit 7cea5560 ]

When kmalloc and dst_cache_init failed,
should return ENOMEM rather than ENOBUFS.

Signed-off-by: default avatarHongbin Wang <wh_bin@126.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent bade8d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment