Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752462AbbBVWDv (ORCPT ); Sun, 22 Feb 2015 17:03:51 -0500 Received: from cantor2.suse.de ([195.135.220.15]:40196 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752027AbbBVWDu (ORCPT ); Sun, 22 Feb 2015 17:03:50 -0500 Date: Sun, 22 Feb 2015 23:03:47 +0100 (CET) From: Jiri Kosina To: Petr Mladek cc: jpoimboe@redhat.com, sjenning@redhat.com, vojtech@suse.cz, masami.hiramatsu.pt@hitachi.com, mbenes@suse.cz, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] livepatch: RCU protect struct klp_func all the time when used in klp_ftrace_handler() In-Reply-To: <1424278933-26952-1-git-send-email-pmladek@suse.cz> Message-ID: References: <1424278933-26952-1-git-send-email-pmladek@suse.cz> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 537 Lines: 17 On Wed, 18 Feb 2015, Petr Mladek wrote: > func->new_func has been accessed after rcu_read_unlock() in klp_ftrace_handler() > and therefore the access was not protected. > > Signed-off-by: Petr Mladek Applied to for-3.20/upstream-fixes, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/