lkml.org 
[lkml]   [2011]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[xfrm6_mode_transport]: untracked dependency
From
Date
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



\
 
 \ /
  Last update: 2011-08-25 14:13    [W:0.132 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site