summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorSven Eckelmann2017-12-03 11:26:45 +0100
committerSimon Wunderlich2017-12-04 11:47:33 +0100
commit5ba7dcfe77037b67016263ea597a8b431692ecab (patch)
tree2a929d165e8dd125005198c17cf9203cb3baffa7 /net/key
parentbatman-adv: Fix kernel-doc for timer functions (diff)
downloadkernel-qcow2-linux-5ba7dcfe77037b67016263ea597a8b431692ecab.tar.gz
kernel-qcow2-linux-5ba7dcfe77037b67016263ea597a8b431692ecab.tar.xz
kernel-qcow2-linux-5ba7dcfe77037b67016263ea597a8b431692ecab.zip
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>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions