On Sunday 04 October 2015 16:24:11 Christof Schulze wrote:
Hello Simon,
when trying to run batman v14 on a current kernel (I noticed it for Version 4.1) I realized that batman will not build beause the netdev-structs have changed.
v14 is not maintained anymore in the official batman-adv repositories. You may instead try to contact the developers of the batman-adv-legacy [1] gluon fork.
The solution is fairly simple because the fix has already been implemented in newer batman versions. The function batadv_is_on_batman_iface can be copied from there and is working fine.
[...]
Now: Where is the correct place to implement the patch: in batman-adv-dkms or in batman itself?
Which batman-adv-dkms? I was maintaining a Debian package with that name but this was dropped a long time ago... I think 2011 or so. But I would guess that you want to add a patch to your "batman-adv-dkms" that patches batman-adv so dkms is able to build it against your current kernel. Or get the patch directly into your batman-adv v14 fork... But this is nothing Simon or I can help you with because we stopped working on v14 and batman-adv-dkms years ago.
Most likely you are talking about gluon based batman-adv-dkms [2] package which is also made by the batman-adv-legacy people. But these packages clearly states that Matthias Schiffer mschiffer@universe-factory.net is responsible for them (ok, he forgot to change it maintainer name in debian/control.modules.in and didn't update the upstream addresses). So you better contact him when you are using his forks. He most likely has complete different ideas how this patch has to look like because he isn't interested in getting it merged into the official Linux repository.
Kind regards, Sven
[1] https://github.com/freifunk-gluon/batman-adv-legacy [2] http://repo.universe-factory.net/debian/pool/main/b/batman-adv-kernelland/