--- linux-2.4.7/net/core/sock.c Fri Jun 29 19:38:26 2001 +++ linux/net/core/sock.c Fri Jul 27 11:23:19 2001 @@ -861,7 +861,7 @@ * It is broken by design. All the protocols using it must be fixed. --ANK */ -rwlock_t net_big_sklist_lock = RW_LOCK_UNLOCKED; +static rwlock_t net_big_sklist_lock = RW_LOCK_UNLOCKED; void sklist_remove_socket(struct sock **list, struct sock *sk) {