On Sunday, December 3, 2017 11:26:45 AM CET Sven Eckelmann wrote:
The originator node object orig_neigh_node is used to when accessing
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: f14416760b62 ("batman-adv: protect bit operations to count OGMs with
spinlock") Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
Applied in 9a3b1954.