Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756537Ab3CDJLt (ORCPT ); Mon, 4 Mar 2013 04:11:49 -0500 Received: from cpsmtpb-ews06.kpnxchange.com ([213.75.39.9]:53688 "EHLO cpsmtpb-ews06.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755737Ab3CDJLp (ORCPT ); Mon, 4 Mar 2013 04:11:45 -0500 Message-ID: <1362388302.16460.5.camel@x61.thuisdomein> Subject: Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend. From: Paul Bolle To: Jan Beulich Cc: Ben Hutchings , Ian Campbell , Greg Kroah-Hartman , KonradRzeszutek Wilk , linux-kernel@vger.kernel.org, stable@vger.kernel.org Date: Mon, 04 Mar 2013 10:11:42 +0100 In-Reply-To: <5134617F02000078000C2AD8@nat28.tlf.novell.com> References: <20130301194351.913471337@linuxfoundation.org> <20130301194355.578429064@linuxfoundation.org> <1362172344.20156.15.camel@x61.thuisdomein> <1362253682.3768.136.camel@deadeye.wl.decadent.org.uk> <1362263724.1334.18.camel@x61.thuisdomein> <1362265843.3768.162.camel@deadeye.wl.decadent.org.uk> <1362306002.1334.29.camel@x61.thuisdomein> <5134617F02000078000C2AD8@nat28.tlf.novell.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Mar 2013 09:11:43.0018 (UTC) FILETIME=[49B830A0:01CE18B8] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 28 On Mon, 2013-03-04 at 07:55 +0000, Jan Beulich wrote: > >>> On 03.03.13 at 11:20, Paul Bolle wrote: > For one, a fix for the (indeed valid) compiler warning has been in > Konrad's tree for several days > (http://git.kernel.org/cgit/linux/kernel/git/konrad/xen.git/commit/drivers/block/xen-blkback/blkback.c?id=a72d9002f80bffd7e4c7d60e5a9caa0cddffe894). Thanks. (For the record: that commit is titled "xen/xen-blkback: preq.dev is used without initialized".) > And second, there's nothing really being fixed with the patch in > question here. The title is kind of misleading, as the handle > coming from the frontend is - without said patch - in the worst > case being used for the very message that triggered the > compiler warning. Nothing else is affected, the code just gave > the impression that the handle was used. > > IOW I don't see why this got proposed for stable at all. So, you suggest to just drop this patch for v3.8.3, don't you? Paul Bolle -- 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/