[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220223093352.0f32e9d1@gandalf.local.home>
Date: Wed, 23 Feb 2022 09:33:52 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>, x86@...nel.org,
joao@...rdrivepizza.com, hjl.tools@...il.com,
andrew.cooper3@...rix.com, linux-kernel@...r.kernel.org,
ndesaulniers@...gle.com, keescook@...omium.org,
samitolvanen@...gle.com, mark.rutland@....com,
alyssa.milburn@...el.com, Miroslav Benes <mbenes@...e.cz>,
Masami Hiramatsu <mhiramat@...nel.org>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Subject: Re: [PATCH 04/29] x86/livepatch: Validate __fentry__ location
On Wed, 23 Feb 2022 09:23:27 -0500
Steven Rostedt <rostedt@...dmis.org> 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
Powered by blists - more mailing lists