linux-sg2042/net/irda/irnet
Fabian Frederick a948f8ce77 irda: replace current->state by set_current_state()
Use helper functions to access current->state.
Direct assignments are prone to races and therefore buggy.

current->state = TASK_RUNNING can be replaced by __set_current_state()

Thanks to Peter Zijlstra for the exact definition of the problem.

Suggested-By: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-23 17:21:11 -05:00
..
Kconfig
Makefile Net: irda: irnet: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:13 -08:00
irnet.h net: misc: Remove extern from function prototypes 2013-10-19 19:12:11 -04:00
irnet_irda.c net: return operator cleanup 2010-09-23 14:33:39 -07:00
irnet_irda.h proc: switch /proc/irda/irnet to seq_file interface 2008-04-29 08:06:19 -07:00
irnet_ppp.c irda: replace current->state by set_current_state() 2015-02-23 17:21:11 -05:00
irnet_ppp.h irda/irnet: use noop_llseek 2010-09-15 19:29:55 -07:00