Re: [PATCH 04/29] x86/livepatch: Validate __fentry__ location
From: Steven Rostedt
Date: Wed Feb 23 2022 - 09:34:03 EST
On Wed, 23 Feb 2022 09:23:27 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> return ip <= (rec->ip + MCOUNT_INSN_SIZE) ? rec->ip : 0;
That should be < and not <=, as I added the + MCOUNT_INSN_SIZE as an after
thought, and that addition changes the compare.
-- Steve