Thread (13 messages) 13 messages, 5 authors, 2007-06-27

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

From: Masahide NAKAMURA <hidden>
Date: 2007-05-24 13:22:44

Hi Ingo,

Ingo Oeser wrote:
Masahide NAKAMURA schrieb:
quoted
Ingo Oeser wrote:
quoted
What about  MODULE_ALIAS("xfrm-type-10-60") 
and MODULE_ALIAS("xfrm-type-10-43") in mip6.c ?
Just replace your second patch ("Loadable module support")
with one, which additionally adds these two lines to mip6.c ...
quoted
quoted
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.
I prefer to use new macro like XFRM mode to unify XFRM
protocols i.e. esp[46].c, ah[46].c, ipcomp[46].c, and mip6.c
if we care about it. Can I add it as extensional patch
if nobody has a plan to do this yet?

... and provide a third patch to implement this cleanup.

That way there are no administrative changes required due to 
any of your patches and we can defer the global cleanup, if it causes
problems or conflicts with other patches in that area.

Does this sound like a plan?
Thank you for the detailed instruction.

I intended to  ask the list is just in order
to avoid duplicated work; whether such work is
already queued by anyone's TODO to support module
aliases for each IPsec protocol or not.

Anyway, I'll provide the third patch for review,
which will be almost what you described.

-- 
Masahide NAKAMURA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help