commit | 53020092bd89b0d4ccc5368a3956f43cb43e5665 | [log] [tgz] |
---|---|---|
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | Wed Mar 30 23:28:52 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 31 02:52:17 2011 -0700 |
tree | e77703aed0ac7d44fa82736c935039638ea6c280 | |
parent | 5e8996e72899847269ca36061ea33ea24bf6cb90 [diff] |
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 <error27@gmail.com> Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>