)]}'
{
  "commit": "15989abd74f16f44bf953d056b95f1d2fda9b0cd",
  "tree": "716bc8eaa6d036d009f63857d0e52de9ed54b931",
  "parents": [
    "433cfc302561bc7e23b1305e1779e0d83156cb61"
  ],
  "author": {
    "name": "Lorenzo Bianconi",
    "email": "lorenzo.bianconi@oss.qualcomm.com",
    "time": "Fri Sep 11 11:20:15 2026 +0200"
  },
  "committer": {
    "name": "Jakub Kicinski",
    "email": "kuba@kernel.org",
    "time": "Tue Sep 15 16:55:52 2026 -0700"
  },
  "message": "net: stmmac: fix TSO header length truncation\n\nstmmac_tso_xmit() stores the protocol header length returned by\nstmmac_tso_header_size() in a u8. stmmac_tso_valid_packet() admits\nheaders up to 1023 bytes, so a header longer than 255 bytes wraps modulo\n256 (486 becomes 230, 256 becomes 0).\n\nA TCP over IPv6 socket carrying a few hundred bytes of sticky\ndestination/hop-by-hop options makes skb_tcp_all_headers() exceed 255\nwhile staying below the 1023-byte limit, so such an skb reaches\nstmmac_tso_xmit().\n\nWiden proto_hdr_len to unsigned int, which is sufficient since the value\nis bounded by the hardware limit, and adjust the debug print specifier\naccordingly.\n\nFixes: 9edfa7dab811 (\"net: stmmac: enable TSO for IPv6\")\nSigned-off-by: Lorenzo Bianconi \u003clorenzo.bianconi@oss.qualcomm.com\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nLink: https://patch.msgid.link/20260911-stmmac-fix-header-length-v1-1-8fc103334327@oss.qualcomm.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "62c3441911e71e8036fc6b244d7568e865893cc5",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c",
      "new_id": "1fb5f804ea23459473730b7d5217c95d0e6694d8",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    }
  ]
}
