[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1314274008.1339.335.camel@falexey.research.nokia.com>
Date: Thu, 25 Aug 2011 15:06:48 +0300
From: Alexey Fomenko <ext-alexey.fomenko@...ia.com>
To: linux-kernel@...r.kernel.org
Subject: [xfrm6_mode_transport]: untracked dependency
Hi, all.
Looks like module xfrm6_mode_transport should depend on ipv6 module.
While running kernel with ipv6 compiled as a module, and not loaded,
it's impossible to just "modprobe xfrm6_mode_transport", it complains
about wrong address family which is not supported. After manual
inserting ("modprobe ipv6"), subject module can be normally loaded. Same
case with compiled-in kernel IPv6 support: subject module can be
normally loaded.
So the question : what is the proper way to fix this? Normally depmod
should take care of discovering exported and used symbols but modinfo
shows that xfrm6_mode_transport doesn't have a dependency inside. I
didn't find normal way (i.e. like macros MODULE_DEPEND or so) to mark a
dependency manually in module sources.
Best regards
Alexey Fomenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists