LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: Petr Mladek <pmladek@suse.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>,
	Miroslav Benes <mbenes@suse.cz>,
	Joe Lawrence <joe.lawrence@redhat.com>,
	Jessica Yu <jeyu@kernel.org>, Nicolai Stange <nstange@suse.de>,
	live-patching@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/2] livepatch: Allocate and free shadow variables more safely
Date: Tue, 17 Apr 2018 13:44:28 +0200 (CEST)	[thread overview]
Message-ID: <nycvar.YFH.7.76.1804171343520.28129@cbobk.fhfr.pm> (raw)
In-Reply-To: <20180416113647.25288-1-pmladek@suse.com>

On Mon, 16 Apr 2018, Petr Mladek wrote:

> Nikolai started to use shadow variables and found that list_head
> is not initialized correctly using the existing API.
> 
> The problem is that LIST_HEAD_INIT() set pointers to itself.
> klp_shadow_alloc() then copies these pointers to another location.

Queued in for-4.17/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs

      parent reply	other threads:[~2018-04-17 11:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-16 11:36 [PATCH v3 0/2] livepatch: Allocate and free shadow variables more safely Petr Mladek
2018-04-16 11:36 ` [PATCH v3 1/2] livepatch: Initialize shadow variables safely by a custom callback Petr Mladek
2018-04-16 11:36 ` [PATCH v3 2/2] livepatch: Allow to call a custom callback when freeing shadow variables Petr Mladek
2018-04-16 19:57 ` [PATCH v3 0/2] livepatch: Allocate and free shadow variables more safely Josh Poimboeuf
2018-04-17 11:21 ` Miroslav Benes
2018-04-17 11:44 ` Jiri Kosina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YFH.7.76.1804171343520.28129@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=jeyu@kernel.org \
    --cc=joe.lawrence@redhat.com \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=live-patching@vger.kernel.org \
    --cc=mbenes@suse.cz \
    --cc=nstange@suse.de \
    --cc=pmladek@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).