nbd: stop leaking sockets
authorJosef Bacik <jbacik@fb.com>
Wed, 1 Mar 2017 16:47:22 +0000 (11:47 -0500)
committerJens Axboe <axboe@fb.com>
Thu, 2 Mar 2017 15:56:04 +0000 (08:56 -0700)
commit6a8a21546507a3ec88e81c2ec927a3fb63efa8ff
treecba885f516d8dd781fbef2314dda7720f2580633
parent562bef4259776c19cb2423d43af1f99183910a4d
nbd: stop leaking sockets

This was introduced in the multi-connection patch, we've been leaking
socket's ever since.

Fixes: 9561a7a ("nbd: add multi-connection support")
cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c