Re: [PATCH v3 06/11] kgdb: Prevent infinite recursive entries to the debugger
From: Daniel Thompson
Date: Thu Apr 30 2020 - 12:52:14 EST
On Tue, Apr 28, 2020 at 02:13:46PM -0700, Douglas Anderson wrote:
> If we detect that we recursively entered the debugger we should hack
> our I/O ops to NULL so that the panic() in the next line won't
> actually cause another recursion into the debugger. The first line of
> kgdb_panic() will check this and return.
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
Reviewed-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>