diff options
| author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-06-01 22:14:07 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-01 17:02:15 -0700 |
| commit | ca746c55a7e6e597cc2d29a094082d345b2c33c9 (patch) | |
| tree | 8f1ad7915ad4efc304b5602597d61bb0f856744d /net/lapb/lapb_timer.c | |
| parent | b923cda9638860d6fbb688cfc4c939ff13df31b5 (diff) | |
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/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
