Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757269AbcLBXGa (ORCPT ); Fri, 2 Dec 2016 18:06:30 -0500 Received: from mout.gmx.net ([212.227.15.19]:58219 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796AbcLBXG2 (ORCPT ); Fri, 2 Dec 2016 18:06:28 -0500 From: Lino Sanfilippo To: bh74.an@samsung.com, ks.giri@samsung.com, vipul.pandya@samsung.com, peppe.cavallaro@st.com, alexandre.torgue@st.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Avoid deadlock situation due to use of xmit_lock Date: Sat, 3 Dec 2016 00:06:04 +0100 Message-Id: <1480719966-12839-1-git-send-email-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 1.9.1 X-Provags-ID: V03:K0:a+xU9nwj7jt1Q4o5BT8LWUeAuDWpW5sAUB07jmxS1X/cmSYwGK3 DmmAFqsd9BgbnfrnsduXSZY4vUKOZgVbGoi17Jiog85P6zMV69jstGXjd5hXvp/hgepDdar ywu6fHuGNlhg5t9KA9nhOCYog78yX2doDgouTw1zXIg2CbapSboEcL8SIhkby+gRYQo6ZX8 XKvRK3iE6W4H6BC9zqrXw== X-UI-Out-Filterresults: notjunk:1;V01:K0:/PoDDt/52Cs=:8BqJKTT/7xtZs8TIX+bRGG EtsardwzZ5OMLfIJhptR3dSrHa8H3tiCwkPWRKSVsteIvBupjlNdU5bCBsLuPEoKLDphO4gaH W4NMPfHrcfKa0cNDIoD6bAuJzXfjHqWi1HovWY6BJuGf+SKVO4leY+2cl6YVt5F1oI6y25LRq bWvYiXnCOQDS3+8jvtOfOx/jpdptxWSJqKG1iA0x+fr5RGJuGCsvs9gYDc4fxxMLMcYCWDCpK sDg1b7IWM6UjK2v0pqEPGb5hC2p0hgnSDMsmGRtSkVTLo4beMlVEKLa1JE3zFFaZbGtvBKoiw jhdpuzkuosWSjap+CGAVpmxjFKDG+8ES615MJ6J1x18b9CcxricllVXt9/OIMKSELk/P+U3QI FpHKccyejd5OlmEEw0Kum8unArN2SC4d5XHHnHkotd1UdnQBKNGzS51JSQiQH0E6eJH+4LaQZ F+9o+IDh92UVrwl9UAGuB6m40/epRCfQMAHQ4D++wD1qHJHeAXF7pvC20DDxjaTE8kftdGR21 7bP8ekGfUaVMP4R41YGTM+bw8BaYFmEa9cTgIB0vA4M7YNFIfaNVcf7fSI/rBz9L88twxm0Sb sbU6lT8R5hfhafczwWCXJGPiP2V8jt4K9wJN8/0a2yne2ZroTH3sxxWjPa5rU+F36eAMldEKV TaBt/tqqRJslewzjjEkBgyvkiVFmKXRoymfiyH3Xabaw5eo4PZeliOqn64xgKL80Xk8A5L6Ya rJDdLzhQPkrHSjc5g+TXcE4H7v0psWBqX/7pbMvpMq74hH5KbKDl5Nap4TU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 381 Lines: 11 Hi, after stumbling over a potential deadlock situation in the altera driver (see http://marc.info/?l=linux-netdev&m=148054615230447&w=2), I checked all other ethernet drivers for the same issue and actually found it in 2 more, namely stmmac, and sxgbe. Please see the commit messages for a description of the problem. These 2 patches fix the concerning drivers. Regards, Lino