diff options
| author | Karsten Graul <kgraul@linux.ibm.com> | 2018-10-25 13:25:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-04 14:50:52 +0100 |
| commit | c3f13a4debd6f1dda4294831216216242e4624f1 (patch) | |
| tree | 64e26b407def422a37b2b633259cdbda0f9d4ecd /include/linux/raid_class.h | |
| parent | 6a4aa53a94615ab4a8cf66b24e3780719378a059 (diff) | |
net/smc: fix smc_buf_unuse to use the lgr pointer
[ Upstream commit fb692ec4117f6fd25044cfb5720d6b79d400dc65 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/raid_class.h')
0 files changed, 0 insertions, 0 deletions
