commit | 50ec1538fac0e39078d45ca5f8a5186621830058 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda <ricardo.ribalda@gmail.com> | Mon Nov 07 23:31:58 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 09 15:37:38 2011 -0500 |
tree | 0cf86765fed469bbfd5be682321cf5a895b1ae30 | |
parent | 2bc8ca40f951163b3bb75949479e2755c12c1b96 [diff] |
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 <ricardo.ribalda@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>