summaryrefslogtreecommitdiffstats
path: root/lib/once.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-06-02 22:06:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-18 10:00:06 +0200
commit808fcc1e707c21a2a6492c8bec65a7cc6eb8b94e (patch)
treeb2df6f8399d4ee1484f6e51e999727dd2150e46b /lib/once.c
parentd8b2e3e17c33ab4874a7431d6c314c4939145160 (diff)
downloadlinux-stable-808fcc1e707c21a2a6492c8bec65a7cc6eb8b94e.tar.gz
linux-stable-808fcc1e707c21a2a6492c8bec65a7cc6eb8b94e.tar.bz2
linux-stable-808fcc1e707c21a2a6492c8bec65a7cc6eb8b94e.zip
fib: Return the correct errno code
[ Upstream commit 59607863c54e9eb3f69afc5257dfe71c38bb751e ] When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions