[batman-adv] master: batman-adv: Fix indentation of batadv_seq_before (360b209)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
>---------------------------------------------------------------
commit 360b20988fb71ac061721eb2a41e585f8da30376
Author: Sven Eckelmann <sven(a)narfation.org>
Date: Fri Jan 5 09:54:32 2018 +0100
batman-adv: Fix indentation of batadv_seq_before
Also multiline macros should have their statements start on a tabstop. This
was detected by checkpatch.pl after commit a134f8de9f40 ("checkpatch:
improve the TABSTOP test to include declarations").
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
>---------------------------------------------------------------
360b20988fb71ac061721eb2a41e585f8da30376
net/batman-adv/main.h | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index d5d6599..057a28a 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -331,11 +331,13 @@ static inline bool batadv_has_timed_out(unsigned long timestamp,
*
* Return: true when x is a predecessor of y, false otherwise
*/
-#define batadv_seq_before(x, y) ({typeof(x)_d1 = (x); \
- typeof(y)_d2 = (y); \
- typeof(x)_dummy = (_d1 - _d2); \
- (void)(&_d1 == &_d2); \
- _dummy > batadv_smallest_signed_int(_dummy); })
+#define batadv_seq_before(x, y) ({ \
+ typeof(x)_d1 = (x); \
+ typeof(y)_d2 = (y); \
+ typeof(x)_dummy = (_d1 - _d2); \
+ (void)(&_d1 == &_d2); \
+ _dummy > batadv_smallest_signed_int(_dummy); \
+})
/**
* batadv_seq_after() - Checks if a sequence number x is a successor of y
2 years, 10 months
[batman-adv] master: batman-adv: Avoid relation operator comparison with bool (dbb7a95)
by postmaster@open-mesh.org
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;
2 years, 10 months
[batman-adv] tag 'v2018.0' created
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batman-adv
New tag : v2018.0
Referencing: 020a2bec2d2275a65dfdfbd6acbead9871c9fa14
2 years, 10 months
[batman-adv] maint's head updated: batman-adv: Update compatible kernel version number (bc7986c)
by postmaster@open-mesh.org
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
2 years, 10 months
[batman-adv] master: batman-adv: Update compatible kernel version number (bc7986c)
by postmaster@open-mesh.org
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. :-)
2 years, 10 months
[batman-adv] master: batman-adv: Start new development cycle (6b55c6d)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
>---------------------------------------------------------------
commit 6b55c6d5ea48f803e58f3f2451ebe1da369fcdcf
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Tue Feb 27 09:51:32 2018 +0100
batman-adv: Start new development cycle
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
6b55c6d5ea48f803e58f3f2451ebe1da369fcdcf
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 5f34c49..d5d6599 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -25,7 +25,7 @@
#define BATADV_DRIVER_DEVICE "batman-adv"
#ifndef BATADV_SOURCE_VERSION
-#define BATADV_SOURCE_VERSION "2018.0"
+#define BATADV_SOURCE_VERSION "2018.1"
#endif
/* B.A.T.M.A.N. parameters */
2 years, 10 months
[batman-adv] master: batman-adv: Update CHANGELOG for upcoming release (4eafa53)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
>---------------------------------------------------------------
commit 4eafa534304010fc1f93e349a762c8e498b2cbea
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Tue Feb 27 09:48:30 2018 +0100
batman-adv: Update CHANGELOG for upcoming release
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
4eafa534304010fc1f93e349a762c8e498b2cbea
CHANGELOG.rst | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index ce596b6..a0cd241 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,17 @@
.. SPDX-License-Identifier: GPL-2.0
+2018.0 (2018-02-26)
+===================
+
+* support latest kernels (3.2 - 4.16)
+* coding style cleanups and refactoring
+* mark licenses clearer, change UAPI header from ISC to MIT
+* bugs squashed:
+
+ - fix packet checksum handling in receive path
+ - fix handling of large number of interfaces
+ - fix netlink dumping of gateways and BLA claims+backbones
+
2017.4 (2017-12-05)
===================
2 years, 10 months
[batctl] tag 'v2018.0' created
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batctl
New tag : v2018.0
Referencing: 15a54e8d052a0c91c655e021322382972be9633f
2 years, 10 months
[batctl] maint's head updated: batctl: Update CHANGELOG for upcoming release (6916f52)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batctl
Branch 'maint' now includes:
007ece3 batctl: Start new development cycle
5c9868c batctl: Add GPL-2.0 as Linux's LICENSES/preferred/GPL-2.0
09ba7c5 batctl: Add License-Filename to GPL-2.0 files
4ab669a batctl: Import Linux's LICENSES/preferred/MIT
696ebd7 batctl: Add SPDX license identifier above copyright header
c27e48f batctl: Mark remaining files as GPL-2.0
11b729f batctl: Change batman_adv.h license to MIT
7e14ee4 batctl: Add missing kernel-doc to packet.h
0f53288 batctl: Remove License-Filename from packet.h
1d67fc3 batctl: Let packet.h include its headers directly
592fa4f batctl: Remove usage of BIT(x) in packet.h
849667f batctl: Remove kernel fixed width types in packet.h
a0982e3 batctl: Remove unused __packed compat macro
a9ad05d batctl: Convert packet.h to uapi header
91023b6 batctl: Update copyright years for 2018
6916f52 batctl: Update CHANGELOG for upcoming release
2 years, 10 months
[batctl] master: batctl: Update CHANGELOG for upcoming release (6916f52)
by postmaster@open-mesh.org
Repository : ssh://git@open-mesh.org/batctl
On branch : master
>---------------------------------------------------------------
commit 6916f52fe82f992d3e6b42ea67b9f9185fa9cdbf
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Tue Feb 27 09:52:59 2018 +0100
batctl: Update CHANGELOG for upcoming release
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
6916f52fe82f992d3e6b42ea67b9f9185fa9cdbf
CHANGELOG.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 359b3a4..4efe4fd 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,12 @@
.. SPDX-License-Identifier: GPL-2.0
+2018.0 (2018-02-26)
+===================
+
+* synchronization of batman-adv netlink and packet headers
+* mark licenses clearer, change batman-adv UAPI header from ISC to MIT
+* coding style cleanups and refactoring
+
2017.4 (2017-12-05)
===================
2 years, 10 months