From: Yevgeny Petrilin Date: Wed, 30 Mar 2011 23:28:52 +0000 (+0000) Subject: mlx4: Fixing use after free X-Git-Tag: v2.6.39-rc2~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53020092bd89b0d4ccc5368a3956f43cb43e5665;p=pandora-kernel.git mlx4: Fixing use after free In case of allocation failure, tried to use the promiscuous QP entry that was previously freed. Now freeing this entry only in case we will not put it back to the list of promiscuous entries. Reported-by: Dan Carpenter Signed-off-by: Yevgeny Petrilin Signed-off-by: David S. Miller --- Reading git-diff-tree failed