Received: by 10.223.164.202 with SMTP id h10csp478862wrb; Wed, 15 Nov 2017 03:04:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMamXsaCQV7NZsMm4aEpwOWhPUPdra8yJsP794Op2gJnR49qhb2YvXvYAFMZk23LCtQht1+n X-Received: by 10.84.197.35 with SMTP id m32mr15740746pld.306.1510743879461; Wed, 15 Nov 2017 03:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510743879; cv=none; d=google.com; s=arc-20160816; b=mScBBrUKuhZdC/IW/tmVDs32NA5QJ2Msqc5lLn3RzQIAcfw5PKlR1shqkgikjD1AmR lQraqNXIoPZ7WNQUyEeIcrRV7v0pyBKtUlUcU9xCUIi15xi2ReikxKw4oyKiJzvYsS1e bLcMtWd22To1Uahadv5WzGFYR0oofqgbExfhzd8GUqHgE4uT9FBWBEc/b/CpYNLimj8o y8TEDY/bmdSaThxdTu2D4BNpRLz9dk7QZrOTWI4gz+ohHqRSHmqtqTp+Ty30h7BUt3We mHc0K1KJNzYn9efUZwqQyU6nTNnFpjxR8sa/EuyAO0PcvzphCnCjDY85rP7lifOYLf9u Tpew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=hyDnw40GMjSsjH/WDGc9+R4dEuLkdl7bM+RoICx8mu0=; b=pUAcrhZj4g1ZAG9iOHkzxo2+AIYw2SLpv0n/PbaACTPogI4yLBVqfM5IrAf1WJgGHm /De/Zd+Se4/R+flA9HdDMIJiWRjmLlaaOfsuC4sNeC97bN5DOsPLwWQWIBxhEDRnKU/H T2UgHyjYVxXjOAL0XqfLkAfFo/nb1av6hjYycbC+0EhxQdJ6iK2h9ci+lZE+dRZ3jEnJ hxMROqwtDJfJSPOJK/JtEa0IOHYvCuFTum5LvnkTOs/vhJgs3VsGorWq0bnXFNAgj9Ua mw/oJvySKexqxr5OuK48l5SZFOtFZfkOqKCQqYuDiAEq5U6q5NPDjrONNlXwF92JQ9DI yuHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n69si4039805pfk.214.2017.11.15.03.04.26; Wed, 15 Nov 2017 03:04:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755856AbdKOJIO (ORCPT + 88 others); Wed, 15 Nov 2017 04:08:14 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41502 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751189AbdKOJIL (ORCPT ); Wed, 15 Nov 2017 04:08:11 -0500 Received: from localhost (unknown [185.156.173.27]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id BAC5FABA; Wed, 15 Nov 2017 09:08:09 +0000 (UTC) Date: Wed, 15 Nov 2017 10:08:13 +0100 From: Greg Kroah-Hartman To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, Sachin Prabhu , stable@vger.kernel.org, Pavel Shilovsky Subject: Re: [PATCH 3.18 36/68] Handle mismatched open calls Message-ID: <20171115090813.GB25434@kroah.com> References: <20170505183212.587141964@linuxfoundation.org> <20170505183214.050929158@linuxfoundation.org> <1500050552.2707.145.camel@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1500050552.2707.145.camel@decadent.org.uk> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 14, 2017 at 05:42:32PM +0100, Ben Hutchings wrote: > On Fri, 2017-05-05 at 11:32 -0700, Greg Kroah-Hartman wrote: > > 3.18-stable review patch.��If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Sachin Prabhu > > > > commit 38bd49064a1ecb67baad33598e3d824448ab11ec upstream. > [...] > > --- a/fs/cifs/smb2ops.c > > +++ b/fs/cifs/smb2ops.c > > @@ -1461,6 +1461,8 @@ struct smb_version_operations smb21_oper > > � .clear_stats = smb2_clear_stats, > > � .print_stats = smb2_print_stats, > > � .is_oplock_break = smb2_is_valid_oplock_break, > > + .handle_cancelled_mid = smb2_handle_cancelled_mid, > > + .handle_cancelled_mid = smb2_handle_cancelled_mid, > > � .downgrade_oplock = smb2_downgrade_oplock, > > � .need_neg = smb2_need_neg, > > � .negotiate = smb2_negotiate, > > @@ -1542,6 +1544,8 @@ struct smb_version_operations smb30_oper > > � .print_stats = smb2_print_stats, > > � .dump_share_caps = smb2_dump_share_caps, > > � .is_oplock_break = smb2_is_valid_oplock_break, > > + .handle_cancelled_mid = smb2_handle_cancelled_mid, > > + .handle_cancelled_mid = smb2_handle_cancelled_mid, > > � .downgrade_oplock = smb2_downgrade_oplock, > > � .need_neg = smb2_need_neg, > > � .negotiate = smb2_negotiate, > [...] > > This doesn't look right. handle_cancelled_mid should be initialised > once in each of the 3 smb_version_operations structures, shouldn't it? Yeah, something is odd with this, I'll look into it later today, thanks for flagging it. greg k-h From 1573628596378860071@xxx Sat Jul 22 13:12:55 +0000 2017 X-GM-THRID: 1572917095851905670 X-Gmail-Labels: Inbox,Category Forums