patch-2.3.9 linux/net/ipv4/ip_masq.c

Next file: linux/net/ipv4/ip_masq_mfw.c
Previous file: linux/net/decnet/dn_timer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c
@@ -4,7 +4,7 @@
  *
  * 	Copyright (c) 1994 Pauline Middelink
  *
- *	$Id: ip_masq.c,v 1.34 1999/03/17 01:53:51 davem Exp $
+ *	$Id: ip_masq.c,v 1.35 1999/06/29 12:35:46 davem Exp $
  *
  *
  *	See ip_fw.c for original log
@@ -315,9 +315,7 @@
  *	Will cycle in MASQ_PORT boundaries.
  */
 static __u16 masq_port = PORT_MASQ_BEGIN;
-#ifdef __SMP__
 static spinlock_t masq_port_lock = SPIN_LOCK_UNLOCKED;
-#endif
 
 /*
  *	free ports counters (UDP & TCP)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)