{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/5233","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/5233/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/5233/comments","events_url":"https://api.github.com/repos/netty/netty/issues/5233/events","html_url":"https://github.com/netty/netty/pull/5233","id":154159380,"number":5233,"title":"EpollDatagramChannel sendmmsg sends all datagram packets to the last packet in the list.","user":{"login":"earthling","id":747660,"avatar_url":"https://avatars.githubusercontent.com/u/747660?v=3","gravatar_id":"","url":"https://api.github.com/users/earthling","html_url":"https://github.com/earthling","followers_url":"https://api.github.com/users/earthling/followers","following_url":"https://api.github.com/users/earthling/following{/other_user}","gists_url":"https://api.github.com/users/earthling/gists{/gist_id}","starred_url":"https://api.github.com/users/earthling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earthling/subscriptions","organizations_url":"https://api.github.com/users/earthling/orgs","repos_url":"https://api.github.com/users/earthling/repos","events_url":"https://api.github.com/users/earthling/events{/privacy}","received_events_url":"https://api.github.com/users/earthling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-11T04:48:27Z","updated_at":"2016-05-11T07:04:55Z","closed_at":"2016-05-11T07:04:55Z","pull_request":{"url":"https://api.github.com/repos/netty/netty/pulls/5233","html_url":"https://github.com/netty/netty/pull/5233","diff_url":"https://github.com/netty/netty/pull/5233.diff","patch_url":"https://github.com/netty/netty/pull/5233.patch"},"body":"When the EpollDatagramChannel uses the sendmmsg call to send multiple datagram packets, the pointers used for all addresses in the msg_hdr.msg_name fields are aliased to a single memory address. This causes _all_ of the datagram packets passed to sendmmsg to be sent to the ip address of the _last_ datagram packet in the list. This pull request allocates an array of addresses on the stack so that each msg_hdr may have a distinct address."},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/218378905","html_url":"https://github.com/netty/netty/pull/5233#issuecomment-218378905","issue_url":"https://api.github.com/repos/netty/netty/issues/5233","id":218378905,"user":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T07:04:55Z","updated_at":"2016-05-11T07:04:55Z","body":"@earthling thanks for the fix!\r\n\r\nSquashed and cherry-picked into 4.1 (15711d938dd7311b54b744a9ef98e0e6bacf32d3) and 4.0 (0e6695e4b636bb94fcf45aebcb1a7534f8b47153)"}}