diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2020-10-23 20:48:29 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-26 16:29:14 -0700 |
commit | 96d6fded958d971a3695009e0ed43aca6c598283 (patch) | |
tree | e2c2602b0cd78968d352ed621160909241eee918 /virt | |
parent | 4a9baf45fd72615a804947a8495b73c4a0a4cb54 (diff) |
net/smc: fix suppressed return code
The patch that repaired the invalid return code in smcd_new_buf_create()
missed to take care of errno ENOSPC which has a special meaning that no
more DMBEs can be registered on the device. Fix that by keeping this
errno value during the translation of the return code.
Fixes: 6b1bbf94ab36 ("net/smc: fix invalid return code in smcd_new_buf_create()")
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions