dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/net/batman-adv
Linus Lüssing dbd6b11e15 batman-adv: make batadv_test_bit() return 0 or 1 only
On some architectures test_bit() can return other values than 0 or 1:

With a generic x86 OpenWrt image in a kvm setup (batadv_)test_bit()
frequently returns -1 for me, leading to batadv_iv_ogm_update_seqnos()
wrongly signaling a protected seqno window.

This patch tries to fix this issue by making batadv_test_bit() return 0
or 1 only.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Acked-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-19 15:49:53 -04:00
..
Kconfig batman-adv: add bridge loop avoidance compile option 2012-04-11 14:29:00 +02:00
Makefile batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
bat_algo.h batman-adv: Reformat multiline comments to consistent style 2012-06-20 22:15:33 +02:00
bat_iv_ogm.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
bitarray.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
bitarray.h batman-adv: make batadv_test_bit() return 0 or 1 only 2012-09-19 15:49:53 -04:00
bridge_loop_avoidance.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
bridge_loop_avoidance.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
debugfs.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
debugfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
gateway_client.c batman-adv: select an internet gateway if none was chosen 2012-08-06 13:23:46 -07:00
gateway_client.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
gateway_common.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
gateway_common.h batman-adv: Prefix gateway enum with BATADV_ 2012-07-01 22:47:18 +02:00
hard-interface.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
hard-interface.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
hash.c batman-adv: Remove space before semicolon 2012-07-01 22:47:23 +02:00
hash.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
icmp_socket.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
icmp_socket.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
main.c batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
main.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
originator.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
originator.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
packet.h batman-adv: Prefix packet structs with batadv_ 2012-07-01 22:47:21 +02:00
ring_buffer.c batman-adv: Prefix main defines with BATADV_ 2012-06-28 08:45:05 +02:00
ring_buffer.h batman-adv: Reformat multiline comments to consistent style 2012-06-20 22:15:33 +02:00
routing.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
routing.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
send.c batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
send.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
soft-interface.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
soft-interface.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
sysfs.c batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
sysfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
translation-table.c batman-adv: Fix mem leak in the batadv_tt_local_event() function 2012-08-08 16:04:04 -07:00
translation-table.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
types.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
unicast.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
unicast.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00
vis.c batman-adv: Don't leak information through uninitialized packet fields 2012-07-01 22:47:24 +02:00
vis.h batman-adv: Prefix types structs with batadv_ 2012-07-01 22:47:21 +02:00