]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Return the correct errno code
authorZheng Yongjun <zhengyongjun3@huawei.com>
Fri, 4 Jun 2021 01:47:02 +0000 (09:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2021 21:17:59 +0000 (14:17 -0700)
commitd6ee53b87323510c599fb2f75ba592c303fb0bbd
tree485a002bacd36f4ee945ba1bda1e30171e65a23c
parent4bdaaeb0f197549d0410a12be55ad0b6613ef355
tipc: Return the correct errno code

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>
net/tipc/link.c