Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932094Ab1CAXPr (ORCPT ); Tue, 1 Mar 2011 18:15:47 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:59553 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757353Ab1CAXPp (ORCPT ); Tue, 1 Mar 2011 18:15:45 -0500 Date: Tue, 01 Mar 2011 15:16:22 -0800 (PST) Message-Id: <20110301.151622.200374696.davem@davemloft.net> To: arnd@arndb.de Cc: linux-kernel@vger.kernel.org, andrew.hendry@gmail.com, linux-x25@vger.kernel.org, netdev@vger.kernel.org, eric.dumazet@gmail.com Subject: Re: [PATCH 5/7] x25: remove the BKL From: David Miller In-Reply-To: <1299021191-17961-6-git-send-email-arnd@arndb.de> References: <1299021191-17961-1-git-send-email-arnd@arndb.de> <1299021191-17961-6-git-send-email-arnd@arndb.de> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 771 Lines: 20 From: Arnd Bergmann Date: Wed, 2 Mar 2011 00:13:09 +0100 > This replaces all instances of lock_kernel in x25 > with lock_sock, taking care to release the socket > lock around sleeping functions (sock_alloc_send_skb > and skb_recv_datagram). It is not clear whether > this is a correct solution, but it seem to be what > other protocols do in the same situation. > > Includes a fix suggested by Eric Dumazet. > > Signed-off-by: Arnd Bergmann Acked-by: David S. Miller -- 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/