[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1513214467.27409.44.camel@perches.com>
Date: Wed, 13 Dec 2017 17:21:07 -0800
From: Joe Perches <joe@...ches.com>
To: Jia-Ju Bai <baijiaju1990@...il.com>, perex@...ex.cz,
floeff@...hematik.uni-stuttgart.de, acme@...ectiva.com.br
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] hp100: Fix a possible sleep-in-atomic bug in
hp100_login_to_vg_hub
On Wed, 2017-12-13 at 17:47 +0800, Jia-Ju Bai wrote:
> The driver may sleep under a spinlock.
> The function call path is:
> hp100_set_multicast_list (acquire the spinlock)
> hp100_login_to_vg_hub
> schedule_timeout_interruptible --> may sleep
>
> To fix it, schedule_timeout_interruptible is replaced with udelay.
>
> This bug is found by my static analysis tool(DSAC) and checked by my code review.
Are there any current working VG/AnyLan network installations?
I rather doubt it.
Powered by blists - more mailing lists