{"action":"closed","issue":{"url":"https://api.github.com/repos/ofiwg/fabtests/issues/89","labels_url":"https://api.github.com/repos/ofiwg/fabtests/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/ofiwg/fabtests/issues/89/comments","events_url":"https://api.github.com/repos/ofiwg/fabtests/issues/89/events","html_url":"https://github.com/ofiwg/fabtests/issues/89","id":51618587,"number":89,"title":"ud_pingpong AV issues","user":{"login":"shefty","id":3967608,"avatar_url":"https://avatars.githubusercontent.com/u/3967608?v=3","gravatar_id":"","url":"https://api.github.com/users/shefty","html_url":"https://github.com/shefty","followers_url":"https://api.github.com/users/shefty/followers","following_url":"https://api.github.com/users/shefty/following{/other_user}","gists_url":"https://api.github.com/users/shefty/gists{/gist_id}","starred_url":"https://api.github.com/users/shefty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shefty/subscriptions","organizations_url":"https://api.github.com/users/shefty/orgs","repos_url":"https://api.github.com/users/shefty/repos","events_url":"https://api.github.com/users/shefty/events{/privacy}","received_events_url":"https://api.github.com/users/shefty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ofiwg/fabtests/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-10T22:16:20Z","updated_at":"2015-02-12T19:56:26Z","closed_at":"2015-02-12T19:56:26Z","body":"The UD pingpong test has at least 2 issues.  The first is relatively easy to fix.  The av_attr structure is not fully initialized before being used.  A memset 0 would work.\r\n\r\nThe second is that the server side never enters the client address into its AV.  It simply expects the CQ readfrom call to have inserted the value.  As a generic example for UD, I would recommend having the client call getname(), insert the results in a message, and send that to the server.  The server would extract the name from the message, insert it into its AV, and send an ack response.  This would be done as part of the communication setup before real data transfers actually start.\r\n\r\nCopying @rfaucett (author) and @luomiao (who found the issues).  Reese, can I assign you to this?"}}