aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/fib_rules.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-06-02 22:06:40 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-03 15:13:56 -0700
commit49251cd00228a3c983651f6bb2f33f6a0b8f152e (patch)
tree97829f4717eb2ab1763b83f270346f660182e081 /net/core/fib_rules.c
parentnet/x25: Return the correct errno code (diff)
downloadlinux-dev-49251cd00228a3c983651f6bb2f33f6a0b8f152e.tar.xz
linux-dev-49251cd00228a3c983651f6bb2f33f6a0b8f152e.zip
net: 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>
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions