)]}'
{
  "commit": "fa2ea983e25d455fb8e95b4f07005f1334435bfc",
  "tree": "109354089975bd60d0fbd4850b1d6df341b2e7cc",
  "parents": [
    "a07bb1cee2af02343cc8483a7313d33d10998326"
  ],
  "author": {
    "name": "Minxi Hou",
    "email": "houminxi@gmail.com",
    "time": "Thu Nov 19 12:21:17 2026 -0500"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Sat Nov 21 15:37:49 2026 -0800"
  },
  "message": "netlink: specs: add ovs datapath and vport set operations\n\nBoth families register a SET command that the spec never described, so a\nYNL client could not change an existing datapath or vport. The datapath\nNEW command also gains the masks cache size, the per-cpu upcall pids and\nthe ifindex, which its handler reads. new, del and set take\nCAP_NET_ADMIN, which is GENL_UNS_ADMIN_PERM in the kernel.\n\nThe datapath SET command changes the user features, the masks cache size\nand the per-cpu upcall pids. A request that leaves out user-features is\nread as zero, which clears the features set earlier. per-cpu-pids takes\neffect only when the same request sets OVS_DP_F_DISPATCH_UPCALL_PER_CPU\nin user-features; without that bit the pids are dropped and the request\nstill succeeds.\n\nThe vport SET command changes the upcall pid. It finds the vport by name,\nor by port number when the request carries no name. An ifindex or options\nare rejected with -EOPNOTSUPP, and a type that differs from the vport\u0027s\ntype with -EINVAL; nothing is compared but the type. The vport NEW\nrequest list gains the port number, which its handler reads.\n\nThe ifindex attribute is signed in both policies, which read it with\nnla_get_s32_default() and reject anything below zero, so declare it as\ns32 to match them rather than leaving it u32. The field in the generated\nreply struct becomes __s32 with it. The reply itself does not change:\novs_vport_cmd_fill_info() still puts the value as u32, and the two types\nhave the same width.\n\nThe commands in both families skip strict and dump validation in the\nkernel, so the spec says so for get, new, del and set.\n\nBoth SET commands also send the updated object to the family\u0027s multicast\ngroup, and to the requester when the request sets NLM_F_ECHO, which the\nnew op docs say.\n\nSigned-off-by: Minxi Hou \u003chouminxi@gmail.com\u003e\nLink: https://patch.msgid.link/20261119172118.3416958-3-houminxi@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f7b3671991e6cb5d0e868977b83cad43327cb98b",
      "old_mode": 33188,
      "old_path": "Documentation/netlink/specs/ovs_datapath.yaml",
      "new_id": "6232760224dc84e82feab283c4710a1e08562dc6",
      "new_mode": 33188,
      "new_path": "Documentation/netlink/specs/ovs_datapath.yaml"
    },
    {
      "type": "modify",
      "old_id": "fa975f8821b6c9283a9c4a8a2dc51452b14c89e5",
      "old_mode": 33188,
      "old_path": "Documentation/netlink/specs/ovs_vport.yaml",
      "new_id": "af7ee56f5f90bcf785de0706f9c47f990197b0ce",
      "new_mode": 33188,
      "new_path": "Documentation/netlink/specs/ovs_vport.yaml"
    }
  ]
}
