Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp824419imm; Thu, 5 Jul 2018 09:29:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfB9mgFG2Uhig1f+fb1svtqIiGCSzJtJnYBy3CtHP4mXSFxe9peIu/dd3h9OtIXQONhxGFL X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr7207811pfb.46.1530808144055; Thu, 05 Jul 2018 09:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530808144; cv=none; d=google.com; s=arc-20160816; b=KfvkyZWafo0J7fvSRUOPWRTne8tXad6q5pQXQQIEuN2+YsD5SX+lBZvXIVS6CQ4EDJ dxdkzOECJ5BpjJiYXGNH0guj2/DT4y9+wbAxSsXORjbMp/+uKP65HmXYlyeWVQ+Xv9EV bgefZYLE+0x16x2CsgLN1oQT1m8vH42hHwBmHCwIB2VOaCyRYwoGaDGV8YZ+5vD9Z/Qf 0vquG0vkGy3BAJodbxmf+3lKCM5Ibpcofku9VVwFN4/RnGHNetx+0CP+lBPO2yHRBGDo bKkFU3efxL+WIpu1VhkBH2EgAsgt+cUQ3CQ4Uw0zuJiPRzfu8mxSo3Meksw9bcrlV8bl sXtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=q6OAissqmF4R/gCa4iPJgMxg7gUTWq4Czj4HGXzBYqk=; b=eH82+6eAObN9sDrLrXH2uUcTLwWZTWeap8mpFVUQC2L+VgifxqaQhsNN8RSuy4yCyu 7CVDTGAv0bSEhn6B4jESPKvDFKntDDa7QQqRAaxEtRyW+fva7Ib0Uoqa05nBexCYhSCm U0y6p5FC5dkBZ99XuoETZX01tCgXVs5/3nCUpitgqhSbZqf5VWZ0DR6oZ6Al1eECIFLV C95V5QZbQdckEPCu7D57VS0WKIX3Jaq+2xCkd6X3HaKyQ2CKooUk9xd85RIQFqN7BFXL z9JEeOxtaLoIOh3fzcHEOV6NqpFSWrsqQZxrb8H8Yl6B7u0MtScatjGBkkrQvjydiois CCDA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd1-v6si6153150plb.338.2018.07.05.09.28.49; Thu, 05 Jul 2018 09:29:04 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529AbeGEQ1i (ORCPT + 99 others); Thu, 5 Jul 2018 12:27:38 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57448 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754043AbeGEQ1g (ORCPT ); Thu, 5 Jul 2018 12:27:36 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 45A0D2BDFF; Thu, 5 Jul 2018 16:27:36 +0000 (UTC) Received: from gblock2.localdomain (ovpn-12-94.pek2.redhat.com [10.72.12.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id 682CF2156889; Thu, 5 Jul 2018 16:27:31 +0000 (UTC) From: xiubli@redhat.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: pkalever@redhat.com, pkarampu@redhat.com, atumball@redhat.com, sabose@redhat.com, mchristi@redhat.com Subject: [PATCH 0/2] uio: fix potential crash bug Date: Thu, 5 Jul 2018 12:27:26 -0400 Message-Id: <1530808048-9494-1-git-send-email-xiubli@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 05 Jul 2018 16:27:36 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 05 Jul 2018 16:27:36 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'xiubli@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xiubo Li Xiubo Li (2): uio: change to use the mutex lock instead of the spin lock uio: fix crash after the device is unregistered drivers/uio/uio.c | 134 +++++++++++++++++++++++++++++++++------------ include/linux/uio_driver.h | 2 +- 2 files changed, 101 insertions(+), 35 deletions(-) -- 1.8.3.1