)]}'
{
  "commit": "cf481550c3a38fcd274965fbac037006dcb52cc6",
  "tree": "ff8d08057c1fcccbfa51684625916907d3774e48",
  "parents": [
    "c56edf7cade274dffa7bcb50b182ec8aa81b7481"
  ],
  "author": {
    "name": "wangwanxia",
    "email": "wangwanxia@kingsoft.com",
    "time": "Wed Oct 28 14:27:13 2026 +0800"
  },
  "committer": {
    "name": "wangwanxia",
    "email": "wangwanxia@kingsoft.com",
    "time": "Wed Oct 28 14:27:13 2026 +0800"
  },
  "message": "neigh: Fix nl_addr leak in handle_encoded_mac on prefix mismatch\n\nhandle_encoded_mac() builds an nl_addr prefix object via nl_addr_build()\nfor each encoded_prefixes[] entry whose address family matches the\ndestination. The reference obtained from nl_addr_build() was only\nreleased through nl_addr_put() on the matching path. When the family\nmatched but the address prefix did not, the loop took the continue\nbranch, which left the allocated nl_addr unreleased and leaked one\nreference per non-matching entry.\n\nMove the nl_addr_put() call so the prefix is released on both the\nmismatch (continue) and match paths, and drop the now-unnecessary\n\"prefix \u003d NULL\" from the for-statement update expression since each\niteration that allocates a prefix now releases it before the next\nallocation.\n\nThis leak is reachable whenever a destination address family matches\nan encoded_prefixes[] entry but the prefix comparison fails, e.g. a\nnon-multicast, non-link-local IPv6 address triggering the AF_INET6\nentries to be tried and skipped.\n\nSigned-off-by: wangwanxia \u003cwangwanxia@kingsoft.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7eed95f148fea291027e207daa22dc2b5d1d02a7",
      "old_mode": 33188,
      "old_path": "libibverbs/neigh.c",
      "new_id": "58bb48993ba1a8237134f1c56324624d73331021",
      "new_mode": 33188,
      "new_path": "libibverbs/neigh.c"
    }
  ]
}
