[Ocfs2-commits] zab commits r2374 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 7 18:40:43 CDT 2005


Author: zab
Signed-off-by: mfasheh
Date: 2005-06-07 18:40:41 -0500 (Tue, 07 Jun 2005)
New Revision: 2374

Modified:
   trunk/fs/ocfs2/cluster/tcp.c
Log:
o remove the sc from the net_proc tracking list before freeing it.  this fixes
  slab corruption when the next mount tries to update the freed list_head as it
  adds a new sc to the list.

Signed-off-by: mfasheh


Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c	2005-06-07 03:38:29 UTC (rev 2373)
+++ trunk/fs/ocfs2/cluster/tcp.c	2005-06-07 23:40:41 UTC (rev 2374)
@@ -236,6 +236,7 @@
 		sock_release(sc->sc_sock);
 		sc->sc_sock = NULL;
 	}
+	o2net_proc_del_sc(sc);
 	kfree(sc);
 }
 



More information about the Ocfs2-commits mailing list