--- /dev/null
+Bottom: 06cdce656914daffeb60188020c0cbccef3f6806
+Top: 249b39658665183a9d3faed2870a1841a127346b
+Author: Sean Hefty <sean.hefty@intel.com>
+Date: 2010-07-15 10:55:01 -0700
+
+Refresh of srq
+
+---
+
+diff --git a/trunk/core/winverbs/user/wv_uverbs.cpp b/trunk/core/winverbs/user/wv_uverbs.cpp
+index d7073a1..1a315b4 100644
+--- a/trunk/core/winverbs/user/wv_uverbs.cpp
++++ b/trunk/core/winverbs/user/wv_uverbs.cpp
+@@ -39,7 +39,7 @@ WvPreOpenCa(const ib_net64_t ca_guid, ci_umv_buf_t *p_umv_buf,
+ UNREFERENCED_PARAMETER(ca_guid);\r
+ UNREFERENCED_PARAMETER(ph_uvp_ca);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -76,7 +76,7 @@ WvPreAllocatePd(ib_ca_handle_t h_uvp_ca, ci_umv_buf_t *p_umv_buf,
+ UNREFERENCED_PARAMETER(h_uvp_ca);\r
+ UNREFERENCED_PARAMETER(ph_uvp_pd);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -112,7 +112,7 @@ WvPreCreateAv(const ib_pd_handle_t h_uvp_pd, const ib_av_attr_t *p_addr_vector,
+ UNREFERENCED_PARAMETER(p_addr_vector);\r
+ UNREFERENCED_PARAMETER(ph_uvp_av);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -148,7 +148,7 @@ WvPreCreateSrq(const ib_pd_handle_t h_uvp_pd, const ib_srq_attr_t* const p_srq_a
+ UNREFERENCED_PARAMETER(p_srq_attr);\r
+ UNREFERENCED_PARAMETER(ph_uvp_srq);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -170,7 +170,7 @@ WvPreModifySrq(const ib_srq_handle_t h_uvp_srq, const ib_srq_attr_t * const p_sr
+ UNREFERENCED_PARAMETER(p_srq_attr);\r
+ UNREFERENCED_PARAMETER(srq_attr_mask);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -188,7 +188,7 @@ WvPreQuerySrq(ib_srq_handle_t h_uvp_srq, ci_umv_buf_t *p_umv_buf)
+ {\r
+ UNREFERENCED_PARAMETER(h_uvp_srq);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -234,7 +234,7 @@ WvPreModifyQp(const ib_qp_handle_t h_uvp_qp, const ib_qp_mod_t *p_modify_attr,
+ UNREFERENCED_PARAMETER(h_uvp_qp);\r
+ UNREFERENCED_PARAMETER(p_modify_attr);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -252,7 +252,7 @@ WvPreQueryQp(ib_qp_handle_t h_uvp_qp, ci_umv_buf_t *p_umv_buf)
+ {\r
+ UNREFERENCED_PARAMETER(h_uvp_qp);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -288,7 +288,7 @@ WvPreCreateCq(const ib_ca_handle_t h_uvp_ca, uint32_t* const p_size,
+ UNREFERENCED_PARAMETER(p_size);\r
+ UNREFERENCED_PARAMETER(ph_uvp_cq);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -310,7 +310,7 @@ WvPreResizeCq(const ib_cq_handle_t h_uvp_cq, uint32_t* const p_size,
+ UNREFERENCED_PARAMETER(h_uvp_cq);\r
+ UNREFERENCED_PARAMETER(p_size);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }\r
+ \r
+@@ -345,7 +345,7 @@ WvPreCreateMw(const ib_pd_handle_t h_uvp_pd, ci_umv_buf_t *p_umv_buf,
+ UNREFERENCED_PARAMETER(h_uvp_pd);\r
+ UNREFERENCED_PARAMETER(ph_uvp_mw);\r
+ \r
+- p_umv_buf->input_size = 0;\r
++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf));\r
+ return IB_SUCCESS;\r
+ }