[2.6 patch] unexport xfrm_policy_delete

From: Adrian Bunk
Date: Tue Jan 18 2005 - 05:30:49 EST


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.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc1-mm1-full/net/xfrm/xfrm_policy.c.old 2005-01-18 11:11:34.000000000 +0100
+++ linux-2.6.11-rc1-mm1-full/net/xfrm/xfrm_policy.c 2005-01-18 11:11:39.000000000 +0100
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/