[SSI] openssi/kernel/include/cluster/ssi net.h,1.5,1.6
Roger Tsang <[email protected]> Wed, 18 Dec 2013 07:32:40 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8929/include/cluster/ssi
Modified Files:
Tag: OPENSSI-FC
net.h
Log Message:
- clean up, move unrelated bug fixes out of compiler pragma.
- ripvs_add_entry: use memcpy() to avoid strlen() calls; avoid traversing beyond allocated memory region of string buffer since caller passes non-null terminated string.
Index: net.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/net.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- net.h 18 Dec 2013 07:10:59 -0000 1.5
+++ net.h 18 Dec 2013 07:32:38 -0000 1.6
@@ -39,6 +39,7 @@
spinlock_t ipvs_lock;
struct rcu_head ipvs_rcu;
};
+#define __is_master_director(info) (info->dnode == this_node)
enum ipvs_op_type {
SET_MASTER_DIRECTOR_NODE,
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk