Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753736AbbGNUuA (ORCPT ); Tue, 14 Jul 2015 16:50:00 -0400 Received: from mail.emea.novell.com ([130.57.118.101]:59203 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752845AbbGNUt7 (ORCPT ); Tue, 14 Jul 2015 16:49:59 -0400 Date: Tue, 14 Jul 2015 22:49:50 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Minfei Huang cc: jpoimboe@redhat.com, sjenning@redhat.com, vojtech@suse.cz, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Minfei Huang Subject: Re: [PATCH] livepatch: klp_disable_func returnes once it does not satisfy the condition In-Reply-To: <1436843737-17773-1-git-send-email-mhuang@redhat.com> Message-ID: References: <1436843737-17773-1-git-send-email-mhuang@redhat.com> 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: 684 Lines: 23 On Tue, 14 Jul 2015, Minfei Huang wrote: > From: Minfei Huang > > It is more better that klp_disable_func returnes immediately, if > func->state and func->old_addr do not satisfy the condition. > > We should robust the livepatch code, although the above situation never > happen in current code path. I have reworded the changelog a little bit and applied to for-4.3/upstream. 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/