[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170704.014357.2098420534003373919.davem@davemloft.net>
Date: Tue, 04 Jul 2017 01:43:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sean.wang@...iatek.com
Cc: john@...ozen.org, nbd@...nwrt.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH] net: ethernet: mediatek: fixed deadlock captured by
lockdep
From: <sean.wang@...iatek.com>
Date: Tue, 4 Jul 2017 11:17:36 +0800
> From: Sean Wang <sean.wang@...iatek.com>
>
> Lockdep found an inconsistent lock state when mtk_get_stats64 is called
> in user context while NAPI updates MAC statistics in softirq.
>
> Use spin_trylock_bh/spin_unlock_bh fix following lockdep warning.
...
> Signed-off-by: Sean Wang <sean.wang@...iatek.com>
Good catch, applied, thanks.
Powered by blists - more mailing lists