[PATCH] powerpc: ibmveth: Harden driver initilisation for kexec
Jeff Garzik
jgarzik at pobox.com
Fri Mar 3 12:04:39 EST 2006
Santiago Leon wrote:
> From: Michael Ellerman <michael at ellerman.id.au>
>
> After a kexec the veth 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.
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
> Acked-by: Anton Blanchard <anton at samba.org>
> Signed-off-by: Santiago Leon <santil at us.ibm.com>
> ---
>
> drivers/net/ibmveth.c | 32 ++++++++++++++++++++++++++------
> 1 files changed, 26 insertions(+), 6 deletions(-)
>
> Looks good to me, and has been around for a couple of months.
This seems completely bonkers to me:
are resources available?
if no
free resources
try again
It makes resource checking pointless.
Jeff
More information about the Linuxppc64-dev
mailing list