diff options
author | 2011-11-07 23:31:58 +0000 | |
---|---|---|
committer | 2011-11-09 15:37:38 -0500 | |
commit | 50ec1538fac0e39078d45ca5f8a5186621830058 (patch) | |
tree | 0cf86765fed469bbfd5be682321cf5a895b1ae30 /fs/jbd2/commit.c | |
parent | ipv4: Fix inetpeer expire time information (diff) | |
download | linux-rng-50ec1538fac0e39078d45ca5f8a5186621830058.tar.xz linux-rng-50ec1538fac0e39078d45ca5f8a5186621830058.zip |
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions