]> 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)
commitbced75bc849c8ec5b9e2f727ecc37889894e886b
tree485a002bacd36f4ee945ba1bda1e30171e65a23c
parentf37e95aaf4056b504e8636557268fa940d42d1b7
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