diff options
author | Karsten Graul | 2018-10-25 13:25:28 +0200 |
---|---|---|
committer | David S. Miller | 2018-10-27 00:59:35 +0200 |
commit | fb692ec4117f6fd25044cfb5720d6b79d400dc65 (patch) | |
tree | b01ee2b1e809ef6e8cd1e8e18446bb3f46f06c80 /ipc | |
parent | ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called (diff) | |
download | kernel-qcow2-linux-fb692ec4117f6fd25044cfb5720d6b79d400dc65.tar.gz kernel-qcow2-linux-fb692ec4117f6fd25044cfb5720d6b79d400dc65.tar.xz kernel-qcow2-linux-fb692ec4117f6fd25044cfb5720d6b79d400dc65.zip |
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 'ipc')
0 files changed, 0 insertions, 0 deletions