)]}'
{
  "commit": "25b0b9c4e835ffaa65b61c3efe2e28acf84d0259",
  "tree": "39474fca13a7ecde0c1c30cf4530254062d0cbda",
  "parents": [
    "d50ccc2d3909fc1b4d40e4af16b026f05dc68707"
  ],
  "author": {
    "name": "Jon Maloy",
    "email": "jon.maloy@ericsson.com",
    "time": "Thu Mar 22 20:42:51 2018 +0100"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Fri Mar 23 13:12:18 2018 -0400"
  },
  "message": "tipc: handle collisions of 32-bit node address hash values\n\nWhen a 32-bit node address is generated from a 128-bit identifier,\nthere is a risk of collisions which must be discovered and handled.\n\nWe do this as follows:\n- We don\u0027t apply the generated address immediately to the node, but do\n  instead initiate a 1 sec trial period to allow other cluster members\n  to discover and handle such collisions.\n\n- During the trial period the node periodically sends out a new type\n  of message, DSC_TRIAL_MSG, using broadcast or emulated broadcast,\n  to all the other nodes in the cluster.\n\n- When a node is receiving such a message, it must check that the\n  presented 32-bit identifier either is unused, or was used by the very\n  same peer in a previous session. In both cases it accepts the request\n  by not responding to it.\n\n- If it finds that the same node has been up before using a different\n  address, it responds with a DSC_TRIAL_FAIL_MSG containing that\n  address.\n\n- If it finds that the address has already been taken by some other\n  node, it generates a new, unused address and returns it to the\n  requester.\n\n- During the trial period the requesting node must always be prepared\n  to accept a failure message, i.e., a message where a peer suggests a\n  different (or equal)  address to the one tried. In those cases it\n  must apply the suggested value as trial address and restart the trial\n  period.\n\nThis algorithm ensures that in the vast majority of cases a node will\nhave the same address before and after a reboot. If a legacy user\nconfigures the address explicitly, there will be no trial period and\nmessages, so this protocol addition is completely backwards compatible.\n\nAcked-by: Ying Xue \u003cying.xue@windriver.com\u003e\nSigned-off-by: Jon Maloy \u003cjon.maloy@ericsson.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4841e98591d0ae49d2c9ea1a18a787f726a62c84",
      "old_mode": 33188,
      "old_path": "net/tipc/addr.c",
      "new_id": "b88d48d009130985db69993bc115c8cae80a71a9",
      "new_mode": 33188,
      "new_path": "net/tipc/addr.c"
    },
    {
      "type": "modify",
      "old_id": "a71f31879cb3ef2371eec48a9cf1b934b9df99e3",
      "old_mode": 33188,
      "old_path": "net/tipc/bearer.c",
      "new_id": "ae5b44ca1c1ecc1f9625d657131248821993228f",
      "new_mode": 33188,
      "new_path": "net/tipc/bearer.c"
    },
    {
      "type": "modify",
      "old_id": "e92fed49e09599780ee23ec2764baa4bc184753e",
      "old_mode": 33188,
      "old_path": "net/tipc/core.c",
      "new_id": "52dfc51ac4d5716ba7e3b9fe52bafbd649e79dc9",
      "new_mode": 33188,
      "new_path": "net/tipc/core.c"
    },
    {
      "type": "modify",
      "old_id": "eabad41cc832fbde44fc41ba4a05aafa609b536d",
      "old_mode": 33188,
      "old_path": "net/tipc/core.h",
      "new_id": "d0f64ca62d02439ff86c5b15a26f033ca5c80489",
      "new_mode": 33188,
      "new_path": "net/tipc/core.h"
    },
    {
      "type": "modify",
      "old_id": "b4c4cd176b9ba0c4c68f6f9f60c53d0f9b5559d0",
      "old_mode": 33188,
      "old_path": "net/tipc/discover.c",
      "new_id": "e7655736abed486b4dd375e65f62d5f77d5228b0",
      "new_mode": 33188,
      "new_path": "net/tipc/discover.c"
    },
    {
      "type": "modify",
      "old_id": "bcd76b1e440c19e45167f3a40350779b56ee42f0",
      "old_mode": 33188,
      "old_path": "net/tipc/link.c",
      "new_id": "1289b4ba404fdabbd26d785c82aebf677ba21f15",
      "new_mode": 33188,
      "new_path": "net/tipc/link.c"
    },
    {
      "type": "modify",
      "old_id": "d1bd1787a768306e84976c362aada4af99068e3a",
      "old_mode": 33188,
      "old_path": "net/tipc/link.h",
      "new_id": "ec59348a81e8b7a5311bb9ff25ab778ea91b0354",
      "new_mode": 33188,
      "new_path": "net/tipc/link.h"
    },
    {
      "type": "modify",
      "old_id": "b4ba1b4f9ae7fa51aa7c58db8456c1691e2a0839",
      "old_mode": 33188,
      "old_path": "net/tipc/msg.h",
      "new_id": "a4e944d593942042ce1b506d42a4c585e8aafc62",
      "new_mode": 33188,
      "new_path": "net/tipc/msg.h"
    },
    {
      "type": "modify",
      "old_id": "e78674891166087f9340963c6a62fa9d628eedfa",
      "old_mode": 33188,
      "old_path": "net/tipc/net.c",
      "new_id": "29538dc0085762265c8cec10d31fc0d5b26ce0ff",
      "new_mode": 33188,
      "new_path": "net/tipc/net.c"
    },
    {
      "type": "modify",
      "old_id": "7b0c993474061ddfa2e3bffa2e6459cffca7d493",
      "old_mode": 33188,
      "old_path": "net/tipc/node.c",
      "new_id": "4a95c8c155c6a5e48ca56c18909c036d37327af7",
      "new_mode": 33188,
      "new_path": "net/tipc/node.c"
    },
    {
      "type": "modify",
      "old_id": "e06faf4fa55e47b9c3fe49b69de1f8eb70b23c63",
      "old_mode": 33188,
      "old_path": "net/tipc/node.h",
      "new_id": "f24b83500df151cfcda9e063523c2b015518449e",
      "new_mode": 33188,
      "new_path": "net/tipc/node.h"
    }
  ]
}
