1
linux/drivers/net/hamradio
Paul E. McKenney b34bd06e48 bpqether: fix rcu usage
The rcu_dereference() primitive needs to be applied to an l-value in order to
ensure that compiler writers don't get an opportunity to apply reordering
optimizations that could result in multiple fetches or in other misbehavior.
This patch pulls the rcu_dereference() calls in bpq_seq_next() up to the point
at which the fetched pointers are still l-values, rather than after
list_entry() has transformed them into r-values.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-31 15:39:40 -07:00
..
6pack.c
baycom_epp.c usermodehelper: Tidy up waiting 2007-07-18 08:47:40 -07:00
baycom_par.c
baycom_ser_fdx.c baycom_ser_fdx: also allow i/o ports >= 0x1000 and enhanced failure logging 2007-04-28 11:01:02 -04:00
baycom_ser_hdx.c
bpqether.c bpqether: fix rcu usage 2007-07-31 15:39:40 -07:00
dmascc.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
hdlcdrv.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
Kconfig Fix "deprecated" typoes. 2007-05-09 07:18:01 +02:00
Makefile
mkiss.c
scc.c
yam1200.h
yam9600.h
yam.c [NET]: Fix yam.c 2007-04-26 00:55:53 -07:00
z8530.h