]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: handle unregistered buffers
authorKarsten Graul <kgraul@linux.ibm.com>
Thu, 3 May 2018 15:57:38 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2018 18:47:31 +0000 (14:47 -0400)
commit1c5757a3f2234d722e1e54c38ab266362fb2f2bd
treeeb06c1cdb7a9867644730d86ab9e13e12be17b41
parent60825e5932669a5910a340b6f431949b6d087ede
net/smc: handle unregistered buffers

When smc_wr_reg_send() fails then tag (regerr) the affected buffer and
free it in smc_buf_unuse().

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_core.c
net/smc/smc_core.h