Messages in this thread Patch in this message | | | Date | Wed, 24 Mar 2004 12:42:25 +0100 (CET) | From | Guennadi Liakhovetski <> | Subject | Re: [PATCH] cs.c: release_cis_mem() missing? |
| |
...and one more
diff -u -r1.1.1.8.6.1.2.1 cs.c --- drivers/pcmcia/cs.c 2003/10/24 15:15:12 1.1.1.8.6.1.2.1 +++ drivers/pcmcia/cs.c 2004/03/24 11:20:44 @@ -674,6 +674,7 @@ cs_sleep(shutdown_delay); s->state &= ~SOCKET_PRESENT; shutdown_socket(s); + release_cis_mem(s); }
static void parse_events(void *info, u_int events) - also with a question mark? Without this patch the mappping stays after card removal and the resource doesn't get freed. Maybe, holds for 2.6 too. The function to be patched seems to be socket_shutdown.
Guennadi --------------------------------- Guennadi Liakhovetski, Ph.D. DSA Daten- und Systemtechnik GmbH Pascalstr. 28 D-52076 Aachen Germany - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |