| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [2.6 patch] net/key/af_key.c: make pfkey_table static |
| From: | Adrian Bunk <bunk@xxxxxxxxx> |
| Date: | Wed, 15 Dec 2004 01:42:54 +0100 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
The patch below makes the needlessly global pfkey_table static. Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> --- 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); |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] netem: restart device after inserting packets, Stephen Hemminger |
|---|---|
| Next by Date: | [2.6 patch] net/netlink/af_netlink.c: possible cleanups, Adrian Bunk |
| Previous by Thread: | Asynchronous crypto layer. Reincarnation #1., Evgeniy Polyakov |
| Next by Thread: | Re: [2.6 patch] net/key/af_key.c: make pfkey_table static, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |