Sven Eckelmann
5ba7dcfe77
batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq
...
The originator node object orig_neigh_node is used to when accessing the
bcast_own(_sum) and real_packet_count information. The access to them has
to be protected with the spinlock in orig_neigh_node.
But the function uses the lock in orig_node instead. This is incorrect
because they could be two different originator node objects.
Fixes: 0ede9f41b217 ("batman-adv: protect bit operations to count OGMs with spinlock")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2017-12-04 11:47:33 +01:00
..
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-12-04 11:47:33 +01:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-12-01 12:37:58 +01:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-05-23 14:34:31 +02:00
2017-03-22 10:30:53 +01:00
2017-01-28 10:40:35 +01:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-12-01 12:37:58 +01:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-10-06 10:12:52 -07:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2016-10-17 16:28:48 +02:00
2017-01-26 08:34:19 +01:00
2017-03-16 21:14:52 +01:00
2017-09-30 09:31:34 +02:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-05-23 12:09:15 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-03-26 12:46:44 +02:00
2017-10-12 11:49:36 +02:00
2017-01-26 08:34:19 +01:00
2017-09-28 17:20:45 +02:00
2017-01-26 08:34:19 +01:00
2017-12-02 10:09:17 +01:00
2017-01-26 08:34:19 +01:00
2017-07-31 11:17:38 +02:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-01-26 08:34:19 +01:00
2017-07-31 11:17:38 +02:00