netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] net/key/af_key.c: make pfkey_table static
@ 2004-12-15  0:42 Adrian Bunk
  2004-12-28  3:05 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-12-15  0:42 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

The patch below makes the needlessly global pfkey_table static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc3-mm1-full/net/key/af_key.c.old	2004-12-14 20:22:24.000000000 +0100
+++ linux-2.6.10-rc3-mm1-full/net/key/af_key.c	2004-12-14 20:22:31.000000000 +0100
@@ -35,7 +35,7 @@
 
 
 /* List of all pfkey sockets. */
-HLIST_HEAD(pfkey_table);
+static HLIST_HEAD(pfkey_table);
 static DECLARE_WAIT_QUEUE_HEAD(pfkey_table_wait);
 static rwlock_t pfkey_table_lock = RW_LOCK_UNLOCKED;
 static atomic_t pfkey_table_users = ATOMIC_INIT(0);

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

* Re: [2.6 patch] net/key/af_key.c: make pfkey_table static
  2004-12-15  0:42 [2.6 patch] net/key/af_key.c: make pfkey_table static Adrian Bunk
@ 2004-12-28  3:05 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-12-28  3:05 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: netdev, linux-kernel

On Wed, 15 Dec 2004 01:42:54 +0100
Adrian Bunk <bunk@stusta.de> wrote:

> The patch below makes the needlessly global pfkey_table static.

Applied, thanks Adrian.

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

end of thread, other threads:[~2004-12-28  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15  0:42 [2.6 patch] net/key/af_key.c: make pfkey_table static Adrian Bunk
2004-12-28  3:05 ` 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).