Re: [PATCH] inet: defines IPPROTO_* needed for module aliasgeneration
From: David Miller
Date: Thu Feb 06 2014 - 23:40:39 EST
From: Jan Moskyto Matejka <mq@xxxxxxx>
Date: Thu, 6 Feb 2014 12:10:00 +0100
> Commit cfd280c91253 ("net: sync some IP headers with glibc") changed a set of
> define's to an enum (with no explanation why) which introduced a bug
> in module mip6 where aliases are generated using the IPPROTO_* defines;
> mip6 doesn't load if require_module called with the aliases from
> xfrm_get_type().
>
> Reverting this change back to define's to fix the aliases.
>
> modinfo mip6 (before this change)
> alias: xfrm-type-10-IPPROTO_DSTOPTS
> alias: xfrm-type-10-IPPROTO_ROUTING
>
> modinfo mip6 (after this change)
> alias: xfrm-type-10-43
> alias: xfrm-type-10-60
>
> Signed-off-by: Jan Moskyto Matejka <mq@xxxxxxx>
I have to apply this, thanks Jan.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/