Red Hat Bugzilla – Bug 185311
xfrm_get_type() not exported in FC4 kernels
Last modified: 2015-01-04 17:25:58 EST
Description of problem:
xfrm_get_type() is not exported in FC4. In releases prior to FC4 it was.
Whether this is the case with FC5 is unknown.
Checking the file net/xfrm/xfrm_policy.c on line 120 one should see that the
function does not end with EXPORT() as does many other functions in the file.
Our organization is using a driver that depends on this function being exported.
Version-Release number of selected component (if applicable):
Compile and link any driver that references xfrm_get_type().
Steps to Reproduce:
Compilation fails during link complaining of xfrm_get_type() not found.
Driver should link.
readding a removed export is something that has to be done upstream.
Otherwise we end up in a situation with dozens of projects asking for certain
symbols added back, resulting in modules that only work against one specific
distro kernel, which is a bad thing.