Skip to contentSkip to conversation

EXPORT_SYMBOL vs EXPORT_SYMBOL_GPL

DISCUSSION Patrick McHardy 2 participants 2 messages May 22, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

Hi Yasuyuki,

while doing some stupid cleanup work on the conntrack code (moving all EXPORT_SYMBOLs next to the exported function) I noticed nf_conntrack uses EXPORT_SYMBOL for the exact same functions that are EXPORT_SYMBOL_GPL'ed by ip_conntrack. I think we should change it to _GPL too for consistency and because most of them mess deeply inside the internals of conntrack.

Any objections to this change?

#1 lore raw

Hi, Patrick,

From: Patrick McHardy <[email protected]>
Date: Mon, 22 May 2006 18:01:23 +0200

Quoted 10 lines

Hi Yasuyuki,

while doing some stupid cleanup work on the conntrack code (moving all EXPORT_SYMBOLs next to the exported function) I noticed nf_conntrack uses EXPORT_SYMBOL for the exact same functions that are EXPORT_SYMBOL_GPL'ed by ip_conntrack. I think we should change it to _GPL too for consistency and because most of them mess deeply inside the internals of conntrack.

Any objections to this change?

No objection, thanks for this cleanup.

-- Yasuyuki Kozakai