[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/dlm-kernel/src lowcomms.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	pcaulfield sourceware org	2007-07-16 09:26:05

Modified files:
	dlm-kernel/src : lowcomms.c 

Log message:
	Clean & deallocation 'othercon' structure when closing a connection.
	see bz#220538 (which is RHEL5 but still relevant)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/lowcomms.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.22.2.14&r2=1.22.2.15

--- cluster/dlm-kernel/src/Attic/lowcomms.c	2007/06/27 10:39:40	1.22.2.14
+++ cluster/dlm-kernel/src/Attic/lowcomms.c	2007/07/16 09:26:05	1.22.2.15
@@ -315,6 +315,8 @@
 		   will only re-enter once.
 		*/
 		close_connection(con->othercon, FALSE);
+		kmem_cache_free(con_cache, con->othercon);
+		con->othercon = NULL;
 	}
 	if (con->rx_page) {
 		__free_page(con->rx_page);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]