Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752655AbaKCXDR (ORCPT ); Mon, 3 Nov 2014 18:03:17 -0500 Received: from wolverine02.qualcomm.com ([199.106.114.251]:23299 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752397AbaKCXDM (ORCPT ); Mon, 3 Nov 2014 18:03:12 -0500 X-IronPort-AV: E=McAfee;i="5600,1067,7611"; a="172946413" X-IronPort-AV: E=Sophos;i="5.07,310,1413270000"; d="scan'208";a="30926211" From: Kalle Valo To: Alexey Khoroshilov CC: "John W. Linville" , , , , Subject: Re: [PATCH] ath6kl: remove incorrect reset_resume handler References: <1414180972-16413-1-git-send-email-khoroshilov@ispras.ru> Date: Tue, 4 Nov 2014 01:02:58 +0200 In-Reply-To: <1414180972-16413-1-git-send-email-khoroshilov@ispras.ru> (Alexey Khoroshilov's message of "Sat, 25 Oct 2014 00:02:52 +0400") Message-ID: <87h9yf7uql.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01E.na.qualcomm.com (10.46.201.191) To NASANEXM01G.na.qualcomm.com (10.46.200.111) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexey Khoroshilov writes: > Existing implementation of reset_resume handler just calls > ath6kl_usb_remove() that deallocates all resources. > It can lead to double free, etc. on disconnect. > > The patch removes reset_resume handler, > so usb core could conservatively reset the driver. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Thanks, applied. -- Kalle Valo -- 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/