diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2018-10-25 14:25:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-27 01:59:35 +0300 |
commit | fb692ec4117f6fd25044cfb5720d6b79d400dc65 (patch) | |
tree | b01ee2b1e809ef6e8cd1e8e18446bb3f46f06c80 /net/smc/smc_ib.h | |
parent | ee1abcf689353f36d9322231b4320926096bdee0 (diff) | |
download | linux-fb692ec4117f6fd25044cfb5720d6b79d400dc65.tar.xz |
net/smc: fix smc_buf_unuse to use the lgr pointer
The pointer to the link group is unset in the smc connection structure
right before the call to smc_buf_unuse. Provide the lgr pointer to
smc_buf_unuse explicitly.
And move the call to smc_lgr_schedule_free_work to the end of
smc_conn_free.
Fixes: a6920d1d130c ("net/smc: handle unregistered buffers")
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>
Diffstat (limited to 'net/smc/smc_ib.h')
0 files changed, 0 insertions, 0 deletions