From: Michael Ellerman Date: Tue, 3 Oct 2006 17:24:23 +0000 (-0500) Subject: [PATCH] ibmveth: Harden driver initilisation X-Git-Tag: v2.6.19-rc2~23^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbedefccc6b0da43cfaf785dac89c88bc59cb6ed;p=pandora-kernel.git [PATCH] ibmveth: Harden driver initilisation This patch has been floating around for a while now, Santi originally sent it in March: http://www.spinics.net/lists/netdev/msg00471.html After a kexec the ibmveth driver will fail when trying to register with the Hypervisor because the previous kernel has not unregistered. So if the registration fails, we unregister and then try again. We don't unconditionally unregister, because we don't want to disturb the regular code path for 99% of users. Signed-off-by: Michael Ellerman Acked-by: Anton Blanchard Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed