<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/batman-adv, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-18T08:04:02Z</updated>
<entry>
<title>batman-adv: fix build against kernels backporting kmalloc_obj</title>
<updated>2026-08-18T08:04:02Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T12:43:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=53bafc09a375230009552845a86005148b57c73c'/>
<id>urn:sha1:53bafc09a375230009552845a86005148b57c73c</id>
<content type='text'>
The compat definitions of kzalloc_obj(), kmalloc_obj() and
kmalloc_objs() were guarded by a version range which carves out only
specific stable backports. These helpers are backported on demand to
stable kernel branches, so on a newer stable kernel they collide
with the definitions in include/linux/slab.h and the module fails to
build:

    compat-hacks.h:52:9: error: "kzalloc_obj" redefined [-Werror]
    ./include/linux/slab.h:963:9: note: this is the location of the
    previous definition

CI showed this on exactly the four targets sitting on
KERNEL_PATCHVER 6.12 - mips_24kc, powerpc_8548, arm_cortex-a15 and
arm_cortex-a9 - while the six 6.18 targets passed.

Guard each definition on the macro name instead, so the compat code
steps aside whenever the kernel provides the helper, without having
to track which point release of which stable series picked up the
backport.

This mirrors what batman-adv carries in compat-include/linux/slab.h.
That file is not used by this package, which force-includes its own
compat-hacks.h instead, so the same fix has to be applied here as
well. slab.h is included explicitly, because unlike the upstream
file this header does not otherwise pull it in.

Upstream-Status: Backport [96a26bababe5e9c9b9f9226e7cdbe60f49f57b71]

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: use return instead of continue in the migration script</title>
<updated>2026-08-18T08:04:02Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:41:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=fe1e65bed7e3fd7e9b892724a1f039ade9ce4eb8'/>
<id>urn:sha1:fe1e65bed7e3fd7e9b892724a1f039ade9ce4eb8</id>
<content type='text'>
proto_batadv_to_batadv_hardif() uses continue to skip a section, but
there is no loop in the function itself. POSIX leaves continue
without an enclosing loop in the current function unspecified; ash
walks the dynamic call stack and lands on the loop inside
config_foreach, which happens to produce the intended behaviour.

Use return, which expresses the intent directly and does not depend
on how config_foreach is implemented.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: drop the vestigial conffiles entry</title>
<updated>2026-08-18T08:04:02Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T10:41:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8113f464747d6f405ebe411f1c385bed4e6c3dae'/>
<id>urn:sha1:8113f464747d6f405ebe411f1c385bed4e6c3dae</id>
<content type='text'>
/etc/config/batman-adv is registered as a conffile although the
package never installs it: files/ only ships the uci-defaults
migration script and the netifd proto handlers. The migration script
itself removes /etc/config/batman-adv as its last step once the
settings have been moved into /etc/config/network, so the entry is
left over from the layout that predates batadv_hardif.

Reported-by: openwrt-ai[bot]
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: add new package</title>
<updated>2026-08-18T08:04:02Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T08:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f45b45747673e74430b172fad30fac40da157ea0'/>
<id>urn:sha1:f45b45747673e74430b172fad30fac40da157ea0</id>
<content type='text'>
B.A.T.M.A.N. Advanced is a routing protocol for multi-hop
ad-hoc mesh networks implemented as a kernel module. It builds
against the mac80211 backport like in the routing feed.

Moved from the openwrt/routing feed, as discussed in
https://github.com/openwrt/routing/issues/184.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
