net/smc: common release code for non-accepted sockets
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 27 Jun 2019 13:04:52 +0000 (15:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 16:58:49 +0000 (09:58 -0700)
commit39f41f367b08650e9aa314e3a13fb6dda1e9eec7
tree654956dbfb3195510105348027d249412ebcc99f
parent582737f9904c6e84b7db2d417b2bf244374719e1
net/smc: common release code for non-accepted sockets

There are common steps when releasing an accepted or unaccepted socket.
Move this code into a common routine.

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