From: Brice Goglin Date: Mon, 18 Dec 2006 10:50:00 +0000 (+0100) Subject: myri10ge: match number of save_state and restore X-Git-Tag: v2.6.20-rc3~56^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7adda30c82f403c948b016a40fc68a1ef427dbca;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed