commit | 81a67b9717d9e4f81bed7d1f2df6ba86aaab9ad9 | [log] [tgz] |
---|---|---|
author | Joe Eykholt <jeykholt@cisco.com> | Tue Aug 25 14:02:43 2009 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Thu Sep 10 12:07:52 2009 -0500 |
tree | 92c6e4bd45b71f48e8db60996bda724ef79246ad | |
parent | 3667d7e7f7bb63a394f73a671fdaf4a187aa858e [diff] |
[SCSI] libfc: discovery gpn_ft parse bug In fc_disc_gpn_ft_parse(), after fc_disc_done() is called, the disc state is changed by setting buf_len = 0. This is wrong since the discovery may have restarted. Instead, return after calling fc_disc_done. Also, return an error on memory allocation failure. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>