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.
openvpn 2.6 dco: /* Register for Ovpn dco specific messages and to RTNLGRP_LINK to * receive RTM_DELLINK */ int ret = nl_socket_add_memberships(dco->nl_sock, dco->ovpn_dco_mcast_id, RTNLGRP_LINK, RTNLGRP_NOTIFY, RTNLGRP_NONE); if (ret) { msg(M_ERR, "%s: failed to join groups: %d", __func__, ret); } value of ret is -2. The corresponding code In the kernel: https://elixir.bootlin.com/linux/v4.14.76/source/net/netlink/af_netlink.c#L1631 The value of err is -2, which means No such file or directory. according to https://elixir.bootlin.com/linux/v4.14.76/source/include/uapi/asm-generic/errno-base.h#L6 If only join RTNLGRP_NOTIFY group, it's OK. Do you have any idea? Any input is very appreciated. Thank you! Tony
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel