We should be calling mpath_disconnect() in uxclnt().
Found by coverity.

Signed-off-by: Hannes Reinecke <[email protected]>
---
 multipathd/uxclnt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipathd/uxclnt.c b/multipathd/uxclnt.c
index 06c1bf8..37afaac 100644
--- a/multipathd/uxclnt.c
+++ b/multipathd/uxclnt.c
@@ -135,6 +135,6 @@ int uxclnt(char * inbuf, unsigned int timeout)
                process_req(fd, inbuf, timeout);
        else
                process(fd, timeout);
-
+       mpath_disconnect(fd);
        return 0;
 }
-- 
2.6.6

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to