{"action":"created","issue":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/1394","labels_url":"https://api.github.com/repos/contiki-os/contiki/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/contiki-os/contiki/issues/1394/comments","events_url":"https://api.github.com/repos/contiki-os/contiki/issues/1394/events","html_url":"https://github.com/contiki-os/contiki/pull/1394","id":118601691,"number":1394,"title":"Removed memcpy that cause inconsistency in nbr-table when adding nd6 neighbors.","user":{"login":"joakimeriksson","id":599447,"avatar_url":"https://avatars.githubusercontent.com/u/599447?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimeriksson","html_url":"https://github.com/joakimeriksson","followers_url":"https://api.github.com/users/joakimeriksson/followers","following_url":"https://api.github.com/users/joakimeriksson/following{/other_user}","gists_url":"https://api.github.com/users/joakimeriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimeriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimeriksson/subscriptions","organizations_url":"https://api.github.com/users/joakimeriksson/orgs","repos_url":"https://api.github.com/users/joakimeriksson/repos","events_url":"https://api.github.com/users/joakimeriksson/events{/privacy}","received_events_url":"https://api.github.com/users/joakimeriksson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-24T12:46:55Z","updated_at":"2015-11-25T13:22:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/contiki-os/contiki/pulls/1394","html_url":"https://github.com/contiki-os/contiki/pull/1394","diff_url":"https://github.com/contiki-os/contiki/pull/1394.diff","patch_url":"https://github.com/contiki-os/contiki/pull/1394.patch"},"body":"This is a fix for ND6 that makes the nbr-table have two entries with the same link layer address. This cause permant disconnect from RPL root (until global repair or reboot). The reason it happens is that the nbr table allow adding a NULL entry for the neighbor discovery to handle the case when there is not yet any know link layer address. The NA code then just do a memcopy so that NULL suddenly is a valid link layer address and when that happen to exist in the tables already - things break down. This fix removes the NULL entry and re-installs it again to avoid the problem.\r\n\r\nThis bug was found by the Intel IoT team in Malaysia that have been testing the 6LoWPAN stack significantly so many thanks for your efforts! (@jeremy-ang, @usmansarwar and @pedquarkbld)."},"comment":{"url":"https://api.github.com/repos/contiki-os/contiki/issues/comments/159605639","html_url":"https://github.com/contiki-os/contiki/pull/1394#issuecomment-159605639","issue_url":"https://api.github.com/repos/contiki-os/contiki/issues/1394","id":159605639,"user":{"login":"simonduq","id":1425999,"avatar_url":"https://avatars.githubusercontent.com/u/1425999?v=3","gravatar_id":"","url":"https://api.github.com/users/simonduq","html_url":"https://github.com/simonduq","followers_url":"https://api.github.com/users/simonduq/followers","following_url":"https://api.github.com/users/simonduq/following{/other_user}","gists_url":"https://api.github.com/users/simonduq/gists{/gist_id}","starred_url":"https://api.github.com/users/simonduq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonduq/subscriptions","organizations_url":"https://api.github.com/users/simonduq/orgs","repos_url":"https://api.github.com/users/simonduq/repos","events_url":"https://api.github.com/users/simonduq/events{/privacy}","received_events_url":"https://api.github.com/users/simonduq/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T13:22:07Z","updated_at":"2015-11-25T13:22:07Z","body":":+1: "}}