linux_dsm_epyc7002/net/batman-adv
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: 0ede9f41b2 ("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
..
bat_algo.c
bat_algo.h
bat_iv_ogm.c batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq 2017-12-04 11:47:33 +01:00
bat_iv_ogm.h
bat_v_elp.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
bat_v_elp.h
bat_v_ogm.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
bat_v_ogm.h
bat_v.c batman-adv: Fix check of retrieved orig_gw in batadv_v_gw_is_eligible 2017-12-01 12:37:58 +01:00
bat_v.h
bitarray.c
bitarray.h
bridge_loop_avoidance.c
bridge_loop_avoidance.h
debugfs.c
debugfs.h
distributed-arp-table.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
distributed-arp-table.h
fragmentation.c batman-adv: Always initialize fragment header priority 2017-12-01 12:37:58 +01:00
fragmentation.h
gateway_client.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
gateway_client.h
gateway_common.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
gateway_common.h
hard-interface.c This cleanup patchset includes the following patches: 2017-10-06 10:12:52 -07:00
hard-interface.h
hash.c
hash.h
icmp_socket.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
icmp_socket.h
Kconfig
log.c
log.h
main.c batman-adv: Add argument names for function ptr definitions 2017-09-30 09:31:34 +02:00
main.h batman-adv: Start new development cycle 2017-09-28 17:20:45 +02:00
Makefile
multicast.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
multicast.h
netlink.c
netlink.h
network-coding.c
network-coding.h
originator.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
originator.h
packet.h
routing.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
routing.h
send.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
send.h
soft-interface.c batman-adv: Add missing kerneldoc for extack 2017-10-12 11:49:36 +02:00
soft-interface.h
sysfs.c batman-adv: Remove unnecessary parentheses 2017-09-28 17:20:45 +02:00
sysfs.h
tp_meter.c batman-adv: Fix kernel-doc for timer functions 2017-12-02 10:09:17 +01:00
tp_meter.h
translation-table.c batman-adv: fix TT sync flag inconsistencies 2017-07-31 11:17:38 +02:00
translation-table.h
tvlv.c
tvlv.h
types.h batman-adv: fix TT sync flag inconsistencies 2017-07-31 11:17:38 +02:00