)]}'
{
  "commit": "41d78e9ac0984f0e9577e5312e62400b5a6760c8",
  "tree": "1645396e5f1c8ba0385b364d2eb877b5672f3e7e",
  "parents": [
    "52ffd771e0029c5ad0504b1b4a8b7f932b65eea3"
  ],
  "author": {
    "name": "Lorenzo Bianconi",
    "email": "lorenzo.bianconi@oss.qualcomm.com",
    "time": "Tue Oct 27 14:48:39 2026 +0100"
  },
  "committer": {
    "name": "Paolo Abeni",
    "email": "pabeni@redhat.com",
    "time": "Mon Nov 02 11:43:11 2026 +0100"
  },
  "message": "net: stmmac: copy XDP metadata in AF_XDP zero-copy RX\n\nstmmac_construct_skb_zc() reserves headroom for the XDP metadata and\nrecords the length reported by the XDP program, but only copies the\npacket data starting at xdp-\u003edata. The bytes in\n[xdp-\u003edata_meta, xdp-\u003edata) are never copied into the new skb, so the\nskb advertises metadata that is not there: after eth_type_trans()\nanchors mac_header, data_meta points at uninitialized headroom instead\nof what the program wrote.\n\nCopy the metadata together with the packet data starting at\nxdp-\u003edata_meta, leaving skb-\u003edata at the start of the frame and the\nmetadata immediately before it, and record its length. This keeps\ndata_meta valid for the stack and TC BPF after eth_type_trans() anchors\nmac_header.\n\nFixes: bba2556efad6 (\"net: stmmac: Enable RX via AF_XDP zero-copy\")\nSigned-off-by: Lorenzo Bianconi \u003clorenzo.bianconi@oss.qualcomm.com\u003e\nLink: https://patch.msgid.link/20261027-stmmac-xdp-fixes-v2-4-10eae8a093a8@oss.qualcomm.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71858af6fd66dfb7100ce7a26dab63a2a6fd6c37",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c",
      "new_id": "d9fc2464a160aa3f6bff16641bfb5cb829478109",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    }
  ]
}
