dlm: fix double-release of socket in error exit path
authorCasey Dahlin <cdahlin@redhat.com>
Tue, 28 Jul 2009 17:29:05 +0000 (12:29 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 18 Aug 2009 20:09:24 +0000 (15:09 -0500)
commitb5711b8e5a437ca7d35321d19de568b4f76a7739
tree945c9f712833ed2810e3179ab626fb974e438996
parentdf4ecf1524c7793de3121b2d4e5fc6bcc0da3bfb
dlm: fix double-release of socket in error exit path

The last correction to the tcp_connect_to_sock error exit path,
commit a89d63a159b1ba5833be2bef00adf8ad8caac8be, can free an already
freed socket, due to collision with a previous (incomplete) attempt
to fix the same issue, commit 311f6fc77c51926dbdfbeab0a5d88d70f01fa3f4.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c
This page took 0.0245 seconds and 5 git commands to generate.