android_kernel_xiaomi_sm8350/drivers/net/myri10ge
Brice Goglin 7adda30c82 myri10ge: match number of save_state and restore
Since pci_save_state() pushes MSI and PCIe states on a kind of stack,
myri10ge saving the state in advance for parity recovery will push the
state again on the stack on suspend. This leads to some memory leak.
We add a couple additional calls to save_state and restore_state so
that we don't leak anymore.

For the future, we are thinking of a better way to recover from parity
error without using pci_save_state().

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-12-26 16:28:20 -05:00
..
Makefile
myri10ge_mcp_gen_header.h [PATCH] myri10ge annotations 2006-12-04 16:07:23 -05:00
myri10ge_mcp.h [PATCH] myri10ge annotations 2006-12-04 16:07:23 -05:00
myri10ge.c myri10ge: match number of save_state and restore 2006-12-26 16:28:20 -05:00