mirror of
https://github.com/openwrt/routing.git
synced 2026-04-15 10:51:56 +00:00
batman-adv: update to version 2026.1
* support latest kernels (5.10 - 7.1) * coding style cleanups and refactoring * bugs squashed: - reject oversized global TT response buffers - avoid OGM aggregation when skb tailroom is insufficient - prevent freed backbones when dumping BLA claims Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=batman-adv
|
||||
PKG_VERSION:=2026.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=2026.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://downloads.open-mesh.org/batman/releases/batman-adv-$(PKG_VERSION)
|
||||
PKG_HASH:=9461d613c4f83a0a233a9f7006ad6d15e779d789c49bd35e3cc08d7e2886fcaa
|
||||
PKG_HASH:=6487dd3b4ad0f85510dedbba335fe77b1b877d0e77393c51ddca07a7451b8f45
|
||||
PKG_EXTMOD_SUBDIRS:=net/batman-adv
|
||||
|
||||
PKG_MAINTAINER:=Simon Wunderlich <sw@simonwunderlich.de>
|
||||
|
||||
@@ -46,6 +46,19 @@ static inline u32 batadv_skb_crc32c(struct sk_buff *skb, int offset,
|
||||
|
||||
#endif /* LINUX_VERSION_IS_LESS(6, 16, 0) || !defined(CONFIG_NET_CRC32C) */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(7, 0, 0)
|
||||
|
||||
#define kzalloc_obj(P, GFP) \
|
||||
kzalloc(sizeof(P), GFP)
|
||||
|
||||
#define kmalloc_obj(P, GFP) \
|
||||
kmalloc(sizeof(P), GFP)
|
||||
|
||||
#define kmalloc_objs(P, COUNT, GFP) \
|
||||
kmalloc_array((COUNT), sizeof(P), GFP)
|
||||
|
||||
#endif /* < KERNEL_VERSION(7, 0, 0) */
|
||||
|
||||
/* <DECLARE_EWMA> */
|
||||
|
||||
#include <linux/version.h>
|
||||
|
||||
Reference in New Issue
Block a user