Linus Lüssing
5d02b3cdfa
batman-adv: Make bat_priv->curr_gw an rcu protected pointer
...
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the bat_priv->curr_gw need to be used, as well as spin/rcu locking.
Otherwise we might end up using a curr_gw pointer pointing to already
freed memory.
Reported-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Linus Lüssing <linus.luessing@ascom.ch>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
2011-03-05 12:50:10 +01:00
..
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:07 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:10 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:07 +01:00
2011-03-05 12:50:07 +01:00
2011-03-05 12:49:58 +01:00
2011-03-05 12:49:58 +01:00
2011-03-05 12:50:03 +01:00
2011-02-11 23:30:29 +01:00
2010-12-16 13:44:24 -08:00
2011-02-11 23:30:29 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:09 +01:00
2011-03-05 12:50:03 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:09 +01:00
2011-03-05 12:50:01 +01:00
2011-02-11 23:30:29 +01:00
2011-02-11 23:30:29 +01:00
2011-03-05 12:50:05 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:49:58 +01:00
2011-02-11 23:30:29 +01:00
2011-03-05 12:50:10 +01:00
2011-03-05 12:50:03 +01:00
2011-01-31 14:57:12 +01:00
2011-03-05 12:50:03 +01:00
2011-01-31 14:57:12 +01:00