Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485AbbGMAgA (ORCPT ); Sun, 12 Jul 2015 20:36:00 -0400 Received: from mail-qg0-f54.google.com ([209.85.192.54]:34847 "EHLO mail-qg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbbGMAf7 (ORCPT ); Sun, 12 Jul 2015 20:35:59 -0400 Message-ID: <55A307EC.1000309@hurleysoftware.com> Date: Sun, 12 Jul 2015 20:35:56 -0400 From: Peter Hurley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Patrick Donnelly , Greg Kroah-Hartman CC: Jiri Slaby , open list Subject: Re: [PATCH v4] tty: add missing rcu_read_lock for task_pgrp References: <1435439824-3975-1-git-send-email-batrick@batbytes.com> <1436741512-992-1-git-send-email-batrick@batbytes.com> In-Reply-To: <1436741512-992-1-git-send-email-batrick@batbytes.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 521 Lines: 12 On 07/12/2015 06:51 PM, Patrick Donnelly wrote: > task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid > is to be dereferenced, which kill_pgrp does. Obtain an RCU lock for the > duration of use. Reviewed-by: Peter Hurley -- 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/