[Openib-windows] [PATCH] access to freed object in ioc_pnp

Yossi Leybovich sleybo at mellanox.co.il
Thu Aug 3 01:29:21 PDT 2006


Fab
 
On system shutdown, driver verifier detects access to freed memory in
core\al\kernel\al_ioc_pnp.c. 
Without verifier, this causes a crash moments later.
 
This patch fix the problem 
 
10x
Yossi 
 
Signed-off-by: Yossi Leybovich (sleybo at mellanox.co.il)
Index: al_ioc_pnp.c
===================================================================
--- al_ioc_pnp.c (revision 1551)
+++ al_ioc_pnp.c (working copy)
@@ -2288,6 +2288,8 @@
  {
   __put_iou_map( gp_ioc_pnp, &p_results->iou_map );
   cl_free( p_results );
+  AL_EXIT( AL_DBG_PNP );
+  return;
  }
 
  /* Walk the map of IOUs and discard any that didn't respond to IOU
info. */

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioc_pnp.patch
Type: application/octet-stream
Size: 391 bytes
Desc: ioc_pnp.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060803/fe9c4d47/attachment.obj>


More information about the ofw mailing list