Modular IPC, slightly revised

Zack Weinberg (zack@rabi.columbia.edu)
Fri, 04 Dec 1998 09:13:34 -0500


I've fixed one bug in my modular IPC patch and updated it to 2.1.131-ac2.
The bug is a potential race between module deletion and the IPC syscalls.
If you don't want to grab -ac2, the fix is appended (it's very short).

The full patch may be found at
ftp://rabi.phys.columbia.edu/pub/zack/modipc-2.1.131-ac2.diff.gz.

As before, any comments, bug reports, etc. are greatly appreciated. Thank
you to all the people who sent feedback on the last version.

zw

--- ipc/util.c Wed Dec 2 00:59:46 1998
+++ ipc/util.c.new Fri Dec 4 09:01:25 1998
@@ -79,11 +79,11 @@

void cleanup_module(void)
{
+ ipc_jumps = NULL;
+
sem_cleanup();
msg_cleanup();
shm_cleanup();
-
- ipc_jumps = NULL;
}
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/