On Thursday 28 April 2016 22:37:21 Andrew Lunn wrote: [....]
+int batadv_algo_dump(struct sk_buff *msg, struct netlink_callback *cb) +{
- int portid = NETLINK_CB(cb->skb).portid;
This doesn't build on older kernels because the name of this field was changed. Attached is a patch which should work(tm).
This was already discussed here: https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-April/014880.html
But there is now still the problem that info->snd_portid was previously called info->snd_pid. Also the genl_register_family_with_ops compat has to be added.
Kind regards, Sven