Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
>---------------------------------------------------------------
commit dbb7a9589a0444ccacb67e86dbaa6fb71601cac9
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Tue Feb 20 12:08:10 2018 +0100
batman-adv: Avoid relation operator comparison with bool
commit 34b3c3850e7d ("batman-adv: Distributed ARP Table - create DHT helper
functions") introduced a return check of batadv_compare_eth which uses a
boolean return value since commit 16af73458aca ("batman-adv: main,
batadv_compare_eth return bool"). A relational (<, >, <= or >=) operator
is not the right one for such a check.
Reported-by: David Binderman <dcb314(a)hotmail.com>
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
Acked-by: Antonio Quartulli <a(a)unstable.cc>
>---------------------------------------------------------------
dbb7a9589a0444ccacb67e86dbaa6fb71601cac9
net/batman-adv/distributed-arp-table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index 19b15de..4469dcc 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -495,7 +495,7 @@ static bool batadv_is_orig_node_eligible(struct batadv_dat_candidate *res,
* the one with the lowest address
*/
if (tmp_max == max && max_orig_node &&
- batadv_compare_eth(candidate->orig, max_orig_node->orig) > 0)
+ batadv_compare_eth(candidate->orig, max_orig_node->orig))
goto out;
ret = true;
Repository : ssh://git@open-mesh.org/batman-adv
Branch 'maint' now includes:
b5364af batman-adv: Start new development cycle
f795e77 batman-adv: Deinline batadv_orig_hash_find, save 7339 bytes
3790461 batman-adv: Add GPL-2.0 as Linux's LICENSES/preferred/GPL-2.0
1231b0b batman-adv: Add License-Filename to GPL-2.0 files
369df85 batman-adv: Add SPDX license identifier above copyright header
79e25c0 batman-adv: Add SPDX license identifier to batman-adv.rst
c6e482f batman-adv: Add license header to Kconfig
7c6e3d2 batman-adv: Add license headers to compat files
20f1caf batman-adv: Mark remaining files as GPL-2.0
f56ea42 batman-adv: Change batman_adv.h license to MIT
8de104e batman-adv: Import Linux's LICENSES/preferred/MIT
5b64e29 batman-adv: include gfp.h for GFP_* defines
40b95b0 batman-adv: include build_bug.h for BUILD_BUG_ON define
b404aa5 batman-adv: Include net.h for net_ratelimited_function
2d6f107 batman-adv: include kobject.h for kobject_* functions
9eb299a batman-adv: Remove unused sched.h include
cfcb3be batman-adv: compat: Map to linux/nl80211.h for Linux < 3.7
7b2cacf batman-adv: Add missing kernel-doc to packet.h
57c4051 batman-adv: Use parentheses in function kernel-doc
6369b8e batman-adv: Use inline kernel-doc for enum/struct
0073361 batman-adv: Fix kernel-doc references to struct members
85a9c01 batman-adv: Add kernel-doc to structs in headers
fa94f92 batman-adv: Add kernel-doc to enums in headers
df02ebf batman-adv: Add kernel-doc to functions in headers
10e3e73 batman-adv: Add kernel-doc to externally visible functions
8eea9c0 Revert "batman-adv: Add License-Filename to GPL-2.0 files"
560fdd8 batman-adv: Let packet.h include its headers directly
5cecad6 batman-adv: Remove usage of BIT(x) in packet.h
d635e80 batman-adv: Remove kernel fixed width types in packet.h
47777a9 batman-adv: Convert packet.h to uapi header
68e1946 batman-adv: Update copyright years for 2018
66a1f2a Merge branch 'maint'
e89f6ed batman-adv: annotate ->poll() instances
c5aa1fa Merge branch 'maint'
d5db560 batman-adv: Fix internal interface indices types
4eafa53 batman-adv: Update CHANGELOG for upcoming release
bc7986c batman-adv: Update compatible kernel version number
Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
>---------------------------------------------------------------
commit bc7986c3b19c5aa57f3435c1e9e16d8b6281c993
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Tue Feb 27 09:49:11 2018 +0100
batman-adv: Update compatible kernel version number
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
bc7986c3b19c5aa57f3435c1e9e16d8b6281c993
README.external.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.external.rst b/README.external.rst
index 98d1d13..6379b4f 100644
--- a/README.external.rst
+++ b/README.external.rst
@@ -12,7 +12,7 @@ and as external module. The external module allows to get
new features without upgrading to a newer kernel version
and to get batman-adv specific bugfixes for kernels that are
not supported anymore. It compiles against and should work
-with Linux 3.2 - 4.15. Supporting older versions is not
+with Linux 3.2 - 4.16. Supporting older versions is not
planned, but it's probably easy to backport it. If you work on a
backport, feel free to contact us. :-)