)]}'
{
  "commit": "2ff07dc136d6c9aed4fa63d7eeea9f51e187b623",
  "tree": "5aa4360ca577ccb25860e137260dac3c973aebad",
  "parents": [
    "7e11cfaed2bd4eb2784b2ac43a9d054db64e9bdb"
  ],
  "author": {
    "name": "Ralf Lici",
    "email": "ralf@mandelbit.com",
    "time": "Thu Nov 26 09:13:51 2026 +0100"
  },
  "committer": {
    "name": "Willem de Bruijn",
    "email": "willemb@google.com",
    "time": "Wed Dec 02 21:03:51 2026 -0500"
  },
  "message": "ipv6: advance the serial after rebalancing in fib6_ifup and fib6_ifdown\n\nfib6_ifup and fib6_ifdown update the node serial before calling\nrt6_multipath_rebalance. A lookup that runs between the two can select a\nnexthop using the old ECMP upper bounds and read the new serial as its\ncookie. The cached dst then passes dst_check although it was selected\nfrom the old state, until the next relevant change.\n\nUpdate the serial after rt6_multipath_rebalance, so that it is published\nonly after the routing state it describes. fib6_new_sernum allocates the\nserial with a fully ordered atomic_try_cmpxchg, which orders the\nrebalance before the serial update. The invalidation scope is unchanged:\nfib6_ifup still updates the node and its ancestors, fib6_ifdown only the\nnode.\n\nValidating dsts against the generation sampled before the lookup, as\nproposed in \"ipv6: validate cached dsts against the netns route\ngeneration\", relies on this order as well: a lookup that reads the new\ngeneration must also observe the routing change it describes.\n\nReported by Sashiko while reviewing an earlier version of this change.\n\nFixes: d7dedee184e7 (\"ipv6: Calculate hash thresholds for IPv6 nexthops\")\nFixes: 4bc852006b62 (\"ipv6: update route serial number on NETDEV_CHANGE\")\nLink: https://lore.kernel.org/netdev/cover.1795642432.git.dahern@nvidia.com/\nSigned-off-by: Ralf Lici \u003cralf@mandelbit.com\u003e\nReviewed-by: Xia Yan \u003cyanxia@cmss.chinamobile.com\u003e\nReviewed-by: David Ahern \u003cdsahern@kernel.org\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261126081353.55240-1-ralf@mandelbit.com\nSigned-off-by: Willem de Bruijn \u003cwillemb@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dbc878c09b87058d7979f26e1e49316661da42dc",
      "old_mode": 33188,
      "old_path": "net/ipv6/route.c",
      "new_id": "789a1f4994737582980bb5d78532a872dcfb9ee2",
      "new_mode": 33188,
      "new_path": "net/ipv6/route.c"
    }
  ]
}
