Commit Graph

18 Commits

Author SHA1 Message Date
coolsnowwolf
3aefda75ae batman-adv: bump version 2024-01-26 20:16:26 +08:00
coolsnowwolf
160eae1216 cjdns: bump version 2022-12-15 13:30:22 +08:00
coolsnowwolf
5437d2c91f
Merge pull request #6 from 1054009064/batman-adv
batman-adv: update to version 2022.3
2022-11-27 01:06:24 +08:00
coolsnowwolf
b3a1e59542
Merge pull request #5 from 1054009064/batctl
batctl: update to version 2022.3
2022-11-27 01:06:14 +08:00
coolsnowwolf
799d9d2c98
Merge pull request #3 from FUjr/main
cjdns :gcc 移除了8.4不支持的编译优化选项
2022-11-27 01:05:56 +08:00
Sven Eckelmann
008e23e0f9 batctl: update to version 2022.3
* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:59 +08:00
Sven Eckelmann
56b47ce693 batctl: update to version 2022.2
* (no changes)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:59 +08:00
Sven Eckelmann
31e25b6133 batctl: update to version 2022.1
* bugs squashed:

  - drop additional delay after the last ping packet

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:59 +08:00
1054009064
422aca1132 batman-adv: fix build on 5.4 2022-11-27 01:01:29 +08:00
Sven Eckelmann
9911ec2012 batman-adv: update to version 2022.3
* support latest kernels (4.9 - 6.1)
* coding style cleanups and refactoring
* bugs squashed:

  - limit the minimum MTU of hard-interface to avoid
    "Forced to purge local tt entries" errors

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
Sven Eckelmann
4f841799cf batman-adv: Rebuild on CONFIG_BATMAN_ADV_* changes
The buildsystem doesn't know that the KernelPackage/*/config kconfig
symbols are related to the batman-adv package build. It is necessary to
explicitly define it via PKG_CONFIG_DEPENDS.

Fixes: 522ce8dfdb7f ("batman-adv: rename folder name to match project & package name")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
Sven Eckelmann
c5cd57d0d1 batman-adv: update to version 2022.2
* support latest kernels (4.9 - 5.19)

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
Sven Eckelmann
95fa02543a batman-adv: Fix build with kernel 5.15.38
The build failed in this kernel due to some missing implicit includes:

  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:42: warning: 'struct sk_buff' declared inside parameter list will not be visible outside of this definition or declaration
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                                          ^~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h: In function 'batadv_netif_rx':
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:66:13: error: implicit declaration of function 'in_interrupt' [-Werror=implicit-function-declaration]
    66 |         if (in_interrupt())
        |             ^~~~~~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:67:24: error: implicit declaration of function 'netif_rx' [-Werror=implicit-function-declaration]
     67 |                 return netif_rx(skb);
        |                        ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:69:24: error: implicit declaration of function 'netif_rx_ni' [-Werror=implicit-function-declaration]
     69 |                 return netif_rx_ni(skb);
        |                        ^~~~~~~~~~~
  In file included from <command-line>:
  ./include/linux/netdevice.h: At top level:
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:71:18: error: conflicting types for 'batadv_netif_rx'; have 'int(struct sk_buff *)'
     71 | #define netif_rx batadv_netif_rx
        |                  ^~~~~~~~~~~~~~~
  ./include/linux/netdevice.h:4029:5: note: in expansion of macro 'netif_rx'
   4029 | int netif_rx(struct sk_buff *skb);
        |     ^~~~~~~~
  build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/batman-adv-2022.1/compat-hacks.h:64:19: note: previous definition of 'batadv_netif_rx' with type 'int(struct sk_buff *)'
     64 | static inline int batadv_netif_rx(struct sk_buff *skb)
        |                   ^~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Fixes: b65a8ca03aec ("batman-adv: update to version 2022.1")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
Sven Eckelmann
d7e8be6c8e batman-adv: update to version 2022.1
* support latest kernels (4.9 - 5.18)
* bugs squashed:

  - resolve "time-of-check-time-of-use" race condition when checking the
    network namespace of a lower device
  - fix sanity check of network devices in different namespaces with
    colliding IDs
  - prevent transmission errors after splitting large GRO packets into
    smaller fragments

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
Sven Eckelmann
c244e3f532 batman-adv: Drop unused compat patches
The minimal kernel version in OpenWrt is now Linux 5.10.111. It already
provides various thing which needed special patches on older versions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-11-27 01:01:29 +08:00
fjr
d374debb4d cjdns : remove link optimzation which gcc 8.4 not support 2022-08-26 23:56:47 +08:00
lean
7b8ea371b9 init commit 2022-04-30 19:21:23 +08:00
coolsnowwolf
fd4571587a
Initial commit 2022-04-30 19:14:49 +08:00