From: Ricardo Ribalda Date: Mon, 7 Nov 2011 23:31:58 +0000 (+0000) Subject: net/temac: FIX segfault when process old irqs X-Git-Tag: v3.2-rc3~25^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ec1538fac0e39078d45ca5f8a5186621830058;p=pandora-kernel.git net/temac: FIX segfault when process old irqs Do not enable the irq until the scatter gather registers are ready to handle the data. Otherwise an irq from a packet send/received before last close can lead to an access to an invalid memory region on the irq handler. Also, stop the dma engine on close. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: David S. Miller --- Reading git-diff-tree failed