This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Pablo Neira Ayuso pablo at soleta.euOn Mon, Nov 16, 2015 at 04:06:43PM +0100, Andreas Schultz wrote:
> Remove the support for genl_register_family_with_ops for
> Linux < 3.13. Also reorder the initialization to be more
> in line with similar modules.
Also applied with minor nitpick, see below.
> -err1:
> +
> +unreg_rtnl_link:
> + rtnl_link_unregister(>p_link_ops);
> +
No need for extra space here, I have mangled the patch here, no
problem.
> +error_out:
> pr_err("error loading GTP module loaded\n");
> - genl_unregister_family(>p_genl_family);
> return err;
> }
> late_initcall(gtp_init);
>
> static void __exit gtp_fini(void)
> {
> - rtnl_link_unregister(>p_link_ops);
> genl_unregister_family(>p_genl_family);
> + rtnl_link_unregister(>p_link_ops);
>
> pr_info("GTP module unloaded\n");
> }
> --
> 2.5.0
>