patch-2.4.20 linux-2.4.20/include/net/tcp.h
Next file: linux-2.4.20/include/scsi/scsi.h
Previous file: linux-2.4.20/include/net/ndisc.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/net/tcp.h
- Orig date:
Fri Aug 2 17:39:46 2002
diff -urN linux-2.4.19/include/net/tcp.h linux-2.4.20/include/net/tcp.h
@@ -27,6 +27,7 @@
#include <linux/config.h>
#include <linux/tcp.h>
#include <linux/slab.h>
+#include <linux/cache.h>
#include <net/checksum.h>
#include <net/sock.h>
@@ -117,8 +118,7 @@
* Now align to a new cache line as all the following members
* are often dirty.
*/
- rwlock_t __tcp_lhash_lock
- __attribute__((__aligned__(SMP_CACHE_BYTES)));
+ rwlock_t __tcp_lhash_lock ____cacheline_aligned;
atomic_t __tcp_lhash_users;
wait_queue_head_t __tcp_lhash_wait;
spinlock_t __tcp_portalloc_lock;
@@ -447,7 +447,6 @@
extern int sysctl_tcp_retrans_collapse;
extern int sysctl_tcp_stdurg;
extern int sysctl_tcp_rfc1337;
-extern int sysctl_tcp_tw_recycle;
extern int sysctl_tcp_abort_on_overflow;
extern int sysctl_tcp_max_orphans;
extern int sysctl_tcp_max_tw_buckets;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)