Re: [patch] Yenta module race condition

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu May 04 2000 - 14:21:00 EST


Jan Kasprzak wrote:
> --- linux/drivers/pcmcia/yenta.c.orig Thu May 4 13:04:42 2000
> +++ linux/drivers/pcmcia/yenta.c Thu May 4 14:34:57 2000
> @@ -722,6 +722,8 @@
> */
> static void yenta_close(pci_socket_t *sock)
> {
> + kill_proc(sock->private[7], SIGTERM, 0);
> + schedule();
> if (sock->cb_irq)
> free_irq(sock->cb_irq, sock);
> if (sock->base)

This does not ensure process death AFAICS

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

- 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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:15 EST