linux/net/batman-adv
Marek Lindner 25b6d3c17e batman-adv: Correct rcu refcounting for gw_node
It might be possible that 2 threads access the same data in the same
rcu grace period. The first thread calls call_rcu() to decrement the
refcount and free the data while the second thread increases the
refcount to use the data. To avoid this race condition all refcount
operations have to be atomic.

Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2011-03-05 12:50:04 +01:00
..
aggregation.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
aggregation.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_debugfs.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_debugfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_client.c batman-adv: Correct rcu refcounting for gw_node 2011-03-05 12:50:04 +01:00
gateway_client.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_common.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: protect bonding with rcu locks 2011-03-05 12:50:01 +01:00
hard-interface.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hash.c batman-adv: protect each hash row with rcu locks 2011-03-05 12:49:58 +01:00
hash.h batman-adv: protect each hash row with rcu locks 2011-03-05 12:49:58 +01:00
icmp_socket.c batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
icmp_socket.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
Kconfig net: Add batman-adv meshing protocol 2010-12-16 13:44:24 -08:00
main.c batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
main.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
originator.c batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
originator.h batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
packet.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
ring_buffer.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
ring_buffer.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
routing.c batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
routing.h batman-adv: protect bonding with rcu locks 2011-03-05 12:50:01 +01:00
send.c batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
send.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
soft-interface.c batman-adv: Remove two duplicate includes. 2011-02-14 23:49:38 +01:00
soft-interface.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
translation-table.c batman-adv: protect each hash row with rcu locks 2011-03-05 12:49:58 +01:00
translation-table.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
types.h batman-adv: Correct rcu refcounting for gw_node 2011-03-05 12:50:04 +01:00
unicast.c batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
unicast.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
vis.c batman-adv: Correct rcu refcounting for neigh_node 2011-03-05 12:50:03 +01:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00