Sasha Khapyorsky wrote:
Move off subnet destination (router address) resolution code to separate
function to improve readability.
 ...
+static ib_net64_t find_router(osm_sa_t *sa, ib_net64_t prefix)

Much better.  The *sa argument to find_router() can even be const.

   Rolf
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to