Hi Antonio,

The issue is I used Arne's working dco branch, it fails to register
AF_NETLINK group.
Old code like:
  int ret = nl_socket_add_memberships(dco->nl_sock, dco->ovpn_dco_mcast_id,
                                        RTNLGRP_LINK, RTNLGRP_NOTIFY,
RTNLGRP_NONE);

I see Arne just pushed new code:
int ret = nl_socket_add_membership(dco->nl_sock, dco->ovpn_dco_mcast_id);

Had a quick test, it's fine. I'm not sure why the old code in my X86-64 PC
is OK while it
doesn't work in this MIPS64 router. Maybe it's not related with the kernel
version.

Tony

Antonio Quartulli <a...@unstable.cc> 于2021年3月30日周二 下午10:37写道:

> Hi Tony,
>
> On 30/03/2021 12:23, Arne Schwabe wrote:
> > Am 30.03.21 um 09:36 schrieb Tony He:
> >> Hi Antonio, Arne,
> >>
> >> Sorry to bother you. I have a router based on Linux kernel
> >> 4.14.76(4.14.x is LTS version). Because of some reasons,
> >> it's hard to upgrade to v5.x to play ovpn-dco. So I am porting ovpn-dco
> >> to 4.14.76 kernel. After some hacking, it's almost done.
> >> Now it seems that  only one issue needs to be resolved. The issue is
> >> openvpn 2.6 dco fails to join AF_NETLINK group.
> >>
> >
> > Note that we currently do not intent to support or do active development
> > on such old kernels.
> >
>
> Even if not currently on the roadmap, please let us know if you
> encounter particular issues with this kernel. I'd be interested in
> hearing about those, if any.
>
> Regards,
>
>
>
> --
> Antonio Quartulli
> OpenVPN Inc.
>
> --
> Antonio Quartulli
>
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to