[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150222.152500.1079314983789857968.davem@davemloft.net>
Date: Sun, 22 Feb 2015 15:25:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fabf@...net.be
Cc: linux-kernel@...r.kernel.org, mingo@...hat.com,
peterz@...radead.org, gregkh@...uxfoundation.org,
j.dumon@...ion.com, linux-usb@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 5/7 linux-next] hso: replace current->state by
__set_current_state()
From: Fabian Frederick <fabf@...net.be>
Date: Fri, 20 Feb 2015 19:12:55 +0100
> Use helper functions to access current->state.
> Direct assignments are prone to races and therefore buggy.
>
> Thanks to Peter Zijlstra for the exact definition of the problem.
>
> Suggested-By: Peter Zijlstra <peterz@...radead.org>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists