netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] unexport xfrm_policy_delete
@ 2005-01-18 10:29 Adrian Bunk
  2005-01-18 20:38 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-01-18 10:29 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

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@stusta.de>

--- 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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] unexport xfrm_policy_delete
  2005-01-18 10:29 [2.6 patch] unexport xfrm_policy_delete Adrian Bunk
@ 2005-01-18 20:38 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-01-18 20:38 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: netdev, linux-kernel

On Tue, 18 Jan 2005 11:29:32 +0100
Adrian Bunk <bunk@stusta.de> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-18 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-18 10:29 [2.6 patch] unexport xfrm_policy_delete Adrian Bunk
2005-01-18 20:38 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).