From patchwork Thu Feb 3 19:55:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shirish Pargaonkar X-Patchwork-Id: 530451 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p13JuHjY019320 for ; Thu, 3 Feb 2011 19:56:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756605Ab1BCT4c (ORCPT ); Thu, 3 Feb 2011 14:56:32 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:37166 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756588Ab1BCT4b (ORCPT ); Thu, 3 Feb 2011 14:56:31 -0500 Received: by vws16 with SMTP id 16so924830vws.19 for ; Thu, 03 Feb 2011 11:56:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=1vsKy9KBlwGGS/NHd/uaVcOUdeLldpQGoox7WDN/QFc=; b=JZt3+BZ00UamNo7ax5CRyAkkTaFADpFDwKAGHzfwWBbIPGKvvK4O/dIWdJjhRVs1wb /2fV3/mhkXLMMfgVqs0KF7mkTHOxKDrPCwvGtswmzjfvQOXNbF3Yp/v1HKykmpceNyAE 15XWDtR5mBakEJ/v8nI/TmOCnQ6QYplnqxFOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=r++czQGwE4jqzmTQoiOC4hE6+HgNOCCqLgvBpX+8RyQpT3EuZm684R6R+DZXo3yVnF H1MN5ujvfnCmOcL+f5DhpLBgAplkTBpWO25BKkabx2cUmGOAfBl08V0/I0qD51XQoif9 Pt3OznZh2q9D0vd5RPYSXAa2IkG9pVwdnyihk= Received: by 10.220.179.9 with SMTP id bo9mr2839256vcb.188.1296762990741; Thu, 03 Feb 2011 11:56:30 -0800 (PST) Received: from localhost ([32.97.110.58]) by mx.google.com with ESMTPS id r20sm495840vcf.34.2011.02.03.11.56.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 11:56:30 -0800 (PST) From: shirishpargaonkar@gmail.com To: smfrench@gmail.com Cc: linux-cifs@vger.kernel.org, Shirish Pargaonkar Subject: [PATCH] cifs: Possible slab memory corruption while updating extended stats Date: Thu, 3 Feb 2011 13:55:59 -0600 Message-Id: <1296762959-24783-1-git-send-email-shirishpargaonkar@gmail.com> X-Mailer: git-send-email 1.6.0.2 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Feb 2011 19:56:32 +0000 (UTC) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 945b220..f3c5ea6 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -635,9 +635,6 @@ multi_t2_fnd: mid_entry->midState = MID_RESPONSE_RECEIVED; list_del_init(&mid_entry->qhead); mid_entry->callback(mid_entry); -#ifdef CONFIG_CIFS_STATS2 - mid_entry->when_received = jiffies; -#endif break; } mid_entry = NULL;