dlm: release socket on error
authorMasatake YAMATO <yamato@redhat.com>
Fri, 27 Jun 2008 13:35:03 +0000 (08:35 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 14 Jul 2008 18:56:59 +0000 (13:56 -0500)
commit311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4
treebb5c3ca66a104642ac97814509015e60e5aea7d3
parent329fc4c37212588091b64bdf09afaeb18642aae2
dlm: release socket on error

It seems that `sock' allocated by sock_create_kern in
tcp_connect_to_sock() of dlm/fs/lowcomms.c is not released if
dlm_nodeid_to_addr an error.

Acked-by: Christine Caulfield <ccaulfie@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c