Skip to content
Commit 6085e24f authored by Hongbin Wang's avatar Hongbin Wang Committed by Greg Kroah-Hartman
Browse files

vxlan: fix error return code in vxlan_fdb_append

[ 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>
parent 32fe43df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment