[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140226.160834.847804163386929425.davem@davemloft.net>
Date: Wed, 26 Feb 2014 16:08:34 -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 12/16] isdn: pcbit: fix interruptible_sleep_on race
From: Arnd Bergmann <arnd@...db.de>
Date: Wed, 26 Feb 2014 12:01:52 +0100
> interruptible_sleep_on is racy and going away. In case of pcbit,
> the driver would run into a timeout if the card is initialized
> before we start waiting for it. This uses wait_event to fix the
> race. In order to do this, the state machine handling for the
> timeout case has to get trivially reorganized so we actually know
> whether the timeout has occorred or not.
>
> 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