Commit cf47a777 authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Lee Jones
Browse files

fib: Return the correct errno code



[ Upstream commit 59607863 ]

When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Ib3afc4382c97cc680b4f6f703d63a777892c7c5b
parent 890294a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment