<feed xmlns='http://www.w3.org/2005/Atom'>
<title>routing/batman-adv/src, branch master</title>
<subtitle>OpenWrt Routing Packages</subtitle>
<id>http://x-nagi.com/cgit/routing/atom?h=master</id>
<link rel='self' href='http://x-nagi.com/cgit/routing/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/'/>
<updated>2023-12-23T14:33:57Z</updated>
<entry>
<title>batman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels</title>
<updated>2023-12-23T14:33:57Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2023-12-23T10:55:49Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=96b5fa139c59baeb163b7b1d85bfe992c5b21133'/>
<id>urn:sha1:96b5fa139c59baeb163b7b1d85bfe992c5b21133</id>
<content type='text'>
The newest Linux stable kernel releases:

* v5.10.205
* v5.15.144
* v6.1.69

received a backported version of commit 1f5020acb33f ("net: vlan: introduce
skb_vlan_eth_hdr()"). batman-adv must therefore not provide this function
any longer for these kernel versions.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Drop support for kernel &lt; 5.15</title>
<updated>2023-05-27T10:15:47Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2023-05-27T10:15:47Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=04bbb0a87e3acd75cb4c6dac6876160758a9614d'/>
<id>urn:sha1:04bbb0a87e3acd75cb4c6dac6876160758a9614d</id>
<content type='text'>
OpenWrt master is no longer providing any kernels older than 5.15. Just
drop the compat-hacks/patches for older kernels to make it easier to
maintain the package.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2023.1</title>
<updated>2023-05-27T10:09:02Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2023-05-27T10:09:02Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=6afc0452c2534ed0bc65b59b1fb6fd74439ddf27'/>
<id>urn:sha1:6afc0452c2534ed0bc65b59b1fb6fd74439ddf27</id>
<content type='text'>
* support latest kernels (4.14 - 6.4)
* drop single unicast transfer optimization for unsnoopable IP addresses
* prepare infrastructure for multicast packets with multiple unicast destination
  addresses

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2023.0</title>
<updated>2023-01-26T21:29:55Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2023-01-26T21:29:55Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=b4034e4ae185c13cb3d784e495fe611e974fc25a'/>
<id>urn:sha1:b4034e4ae185c13cb3d784e495fe611e974fc25a</id>
<content type='text'>
* support latest kernels (4.14 - 6.2)

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2022.3</title>
<updated>2022-11-10T20:44:20Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2022-11-10T20:14:42Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=081291592ef1f6981ccb3fbd22bca3b82d2a41d7'/>
<id>urn:sha1:081291592ef1f6981ccb3fbd22bca3b82d2a41d7</id>
<content type='text'>
* 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 &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Fix build with kernel 5.15.38</title>
<updated>2022-05-12T12:29:10Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2022-05-12T12:29:10Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=4216c909aa56e8d5490a2fdd2dad536ccf4673fe'/>
<id>urn:sha1:4216c909aa56e8d5490a2fdd2dad536ccf4673fe</id>
<content type='text'>
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 &lt;command-line&gt;:
  ./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 &lt;ptpt52@gmail.com&gt;
Fixes: b65a8ca03aec ("batman-adv: update to version 2022.1")
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2022.1</title>
<updated>2022-05-06T20:09:55Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2022-05-06T19:51:41Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=b65a8ca03aecb5ebe018aa86f373a15fd05e9f8c'/>
<id>urn:sha1:b65a8ca03aecb5ebe018aa86f373a15fd05e9f8c</id>
<content type='text'>
* 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 &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Drop compat hacks for kernels &lt; 5.10</title>
<updated>2022-04-17T12:00:29Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2022-04-17T11:39:43Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=b1d9a55b49638f66fc764a40c90c608f387f8c14'/>
<id>urn:sha1:b1d9a55b49638f66fc764a40c90c608f387f8c14</id>
<content type='text'>
OpenWrt master is no longer providing any kernels older than 5.10. Just
drop the compat-hacks for older kernels to make it easier to maintain the
package.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Drop duplicated dev_{hold,put} compat helpers</title>
<updated>2021-11-27T16:10:06Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2021-11-27T16:01:29Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=a2fe1d413176d5856a7a3f3e736208a6872a2b85'/>
<id>urn:sha1:a2fe1d413176d5856a7a3f3e736208a6872a2b85</id>
<content type='text'>
The mac80211 package in OpenWrt master is now already providing helpers for
the changed dev_{hold,put} behavior in Linux 5.15. It is no longer
necessary to ship them as part of the batman-adv package.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2021.4</title>
<updated>2021-11-19T16:40:29Z</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven@narfation.org</email>
</author>
<published>2021-11-19T15:55:58Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/routing/commit/?id=ca6c9edc3e5f3cb1069e8cf2a8c050d9bde99e5e'/>
<id>urn:sha1:ca6c9edc3e5f3cb1069e8cf2a8c050d9bde99e5e</id>
<content type='text'>
* support latest kernels (4.4 - 5.16)
* coding style cleanups and refactoring
* bugs squashed:

  - fix error handling during interface initialization

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
</feed>
