]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: move code to clear the conn->lgr field
authorKarsten Graul <kgraul@linux.ibm.com>
Thu, 7 Feb 2019 14:56:19 +0000 (15:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 02:06:19 +0000 (18:06 -0800)
commit01ae381ab3ba221f457ea378e9f2d54a4ded3c2a
tree6ca7233a58e3af5bd8382184e2586d54886e054e
parent4bbd91b1e85951e65918a9e0fd322e2d01ba1207
net/smc: move code to clear the conn->lgr field

The lgr field of an smc_connection is set in smc_conn_create() and
should be cleared in smc_conn_free() for consistency reasons, so move
the responsible code.

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/smc_core.c