/* Allocate a RDS message containing a congestion update.  */
struct rds_message* rds_cong_update_alloc(struct rds_connection *conn)
/* Allocate a RDS message containing a congestion update.  */
struct rds_message* rds_cong_update_alloc(struct rds_connection *conn)
{
	struct rds_cong_map *map = conn->c_lcong;
	struct rds_message *rm;
	rm = rds_message_map_pages(map->m_page_addrs, RDS_CONG_MAP_BYTES);
	if (!IS_ERR(rm))
		rm->m_inc.i_hdr.h_flags = RDS_FLAG_CONG_BITMAP;
	return rm;
}