Skip to contentSkip to conversation

unexport xfrm_policy_delete

PATCH In review Adrian Bunk 2 participants 2 messages Jan 18, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unexport xfrm_policy_delete

I haven't found any way how xfrm_policy_delete could be called from modular code in 2.6.11-rc1-mm1.

Unless I'm wrong or a patch for a modular usage is pending, I'm therefore suggesting this patch for removing the EXPORT_SYMBOL.

net/xfrm/xfrm_policy.c renamed from net/xfrm/xfrm_policy.c.old +0 -2
@@ -549,8 +549,6 @@
 	}
 }
 
-EXPORT_SYMBOL(xfrm_policy_delete);
-
 int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol)
 {
 	struct xfrm_policy *old_pol;
maintainer
#1 lore raw
Quoted 5 lines · On Tue, 18 Jan 2005 11:29:32 +0100 Adrian Bunk <[email protected]> wrote:

I haven't found any way how xfrm_policy_delete could be called from modular code in 2.6.11-rc1-mm1.

Unless I'm wrong or a patch for a modular usage is pending, I'm therefore suggesting this patch for removing the EXPORT_SYMBOL.

Looks good to me, applied.

Thanks Adrian.