Subject: Re: [PATCH 2/2] [IPV6] MIP6: Loadable module support for MIPv6.

From: Ingo Oeser <[email-masked]>
Date: Wed, 23 May 2007 11:54:32 +0200

Hi,

[email-masked] schrieb:
> From: Masahide NAKAMURA <[email-masked]>
> 
> This patch makes MIPv6 loadable module named "mip6".
> 
> Here is a modprobe.conf(5) example to load it automatically
> when user application uses XFRM state for MIPv6:
> 
> alias xfrm-type-10-43 mip6
> alias xfrm-type-10-60 mip6

What about  MODULE_ALIAS("xfrm-type-10-60") 
and MODULE_ALIAS("xfrm-type-10-43") in mip6.c ?

The aliases in modprobe.conf(5) should not be necessary then.

If you are really ambitious you can even define a 
MODULE_ALIAS_XFRM_TYPE macro in include/net/xfrm.h
simliar to to MODULE_ALIAS_XFRM_MODE.

Please be sure to discuss CC Herbert Xu then.

Best regards

Ingo Oeser