[rds-devel] [PATCH net-next 00/13] RDS bugfixes and cleanups

David Miller davem at davemloft.net
Tue Mar 16 21:18:50 PDT 2010


From: Andy Grover <andy.grover at oracle.com>
Date: Thu, 11 Mar 2010 15:49:54 -0800

> These patches are against net-next, please apply.

All applied, thanks Andy.

BTW:

+	/* Do not send cong updates to IB loopback */
+	if (conn->c_loopback
+	    && rm->m_inc.i_hdr.h_flags & RDS_FLAG_CONG_BITMAP) {
+		rds_cong_map_updated(conn->c_fcong, ~(u64) 0);
+		return sizeof(struct rds_header) + RDS_CONG_MAP_BYTES;
+	}
+

Be careful with operator precedence here.  Even if it's right,
probably better to add parenthesis just to sleep more easily
at night :-)




More information about the rds-devel mailing list