Bug 185311 - xfrm_get_type() not exported in FC4 kernels
Summary: xfrm_get_type() not exported in FC4 kernels
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-13 16:59 UTC by Stephen Sanders
Modified: 2015-01-04 22:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-03-13 21:06:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Sanders 2006-03-13 16:59:52 UTC
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):
2.6.15-1.1833

How reproducible:
Compile and link any driver that references xfrm_get_type().

Steps to Reproduce:

  
Actual results:
Compilation fails during link complaining of xfrm_get_type() not found.

Expected results:
Driver should link.

Additional info:

Comment 1 Dave Jones 2006-03-13 21:06:00 UTC
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.



Note You need to log in before you can comment on or make changes to this bug.