From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] powerpc: ibmveth: Harden driver initilisation for kexec From: Michael Ellerman To: jgarzik@pobox.com In-Reply-To: <44074A22.8060705@us.ibm.com> References: <20060131041055.5623C68A46@ozlabs.org> <20060131042903.GF28896@krispykreme> <44074A22.8060705@us.ibm.com> Content-Type: text/plain Date: Mon, 27 Mar 2006 12:11:16 +1100 Message-Id: <1143421876.7795.2.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc64-dev@ozlabs.org, netdev@vger.kernel.org Reply-To: michael@ellerman.id.au List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2006-03-02 at 13:40 -0600, Santiago Leon wrote: > From: Michael Ellerman > > 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 > Acked-by: Anton Blanchard > Signed-off-by: Santiago Leon > --- > > drivers/net/ibmveth.c | 32 ++++++++++++++++++++++++++------ > 1 files changed, 26 insertions(+), 6 deletions(-) Looks like this hit the floor. Any chance of getting it into to 2.6.17 Jeff? AFAICT it should still apply cleanly. cheers -- Michael Ellerman IBM OzLabs wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person