[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140226.160840.2252241966959740296.davem@davemloft.net>
Date: Wed, 26 Feb 2014 16:08:40 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: linux-kernel@...r.kernel.org, isdn@...ux-pingi.de,
netdev@...r.kernel.org
Subject: Re: [PATCH 13/16] isdn: hisax/elsa: fix sleep_on race in elsa FSM
From: Arnd Bergmann <arnd@...db.de>
Date: Wed, 26 Feb 2014 12:01:53 +0100
> The state machine code in the elsa driver uses interruptible_sleep_on
> to wait for state changes, which is racy. A closer look at the possible
> states reveals that it is always used to wait for getting back into
> ARCOFI_NOP, so we can use wait_event_interruptible instead.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists