Files
linux/net/smc
Karsten Graul bddce770de net/smc: fix suppressed return code
[ Upstream commit 96d6fded95 ]

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: 6b1bbf94ab ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-01 12:47:07 +01:00
..
2019-10-22 11:23:44 -07:00
2020-11-01 12:47:07 +01:00
2018-05-04 11:45:06 -04:00
2020-07-08 12:35:15 -07:00