From: Parikh, Neerav Date: Fri, 25 Feb 2011 23:02:51 +0000 (-0800) Subject: [SCSI] libfc: Fixing a memory leak when destroying an interface X-Git-Tag: v2.6.39-rc1~440^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe5e3f1aec310779a4b830022a26842b8d587228;p=pandora-kernel.git [SCSI] libfc: Fixing a memory leak when destroying an interface When an fcoe interface is being destroyed; in the process the fcoe driver will try to release all the resources it had allocated for that interface including rports. But, it seems that it does not release the reference held for the name server rport in that process resulting into a memory leak. This patch fixes that memory leak. Signed-off-by: Neerav Parikh Tested-by: Ross Brattain Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed