[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200623.152626.2206118203643133195.davem@davemloft.net>
Date: Tue, 23 Jun 2020 15:26:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: likaige@...ngson.cn
Cc: benve@...co.com, _govind@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, lixuefeng@...ngson.cn,
yangtiezhu@...ngson.cn
Subject: Re: [PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in
enic_init_affinity_hint()
From: David Miller <davem@...emloft.net>
Date: Tue, 23 Jun 2020 14:33:11 -0700 (PDT)
> Calling a NIC driver open function from a context holding a spinlock
> is very much the real problem, so many operations have to sleep and
> in face that ->ndo_open() method is defined as being allowed to sleep
> and that's why the core networking never invokes it with spinlocks
^^^^
I mean "without" of course. :-)
> held.
Powered by blists - more mailing lists