)]}'
{
  "commit": "87b06394e6e5d9491536b69a967af554f6bb8680",
  "tree": "365bc7b3007b962231c74546fbcb21028b49d9de",
  "parents": [
    "9800d46c69fd26ec275ab97a57bf4492917b15f6"
  ],
  "author": {
    "name": "Robert Lubos",
    "email": "robert.lubos@nordicsemi.no",
    "time": "Tue Sep 09 15:26:39 2025 +0200"
  },
  "committer": {
    "name": "Dan Kalowsky",
    "email": "dank@deadmime.org",
    "time": "Tue Sep 30 15:02:50 2025 -0700"
  },
  "message": "net: tcp: Preallocate TX packet for TCP context\n\nTCP context cannot operate w/o a TX packet for buffering transmitted\ndata. So far this net_pkt was allocated at runtime from the common\npacket pool, but this created some not-obvious memory requirement on TCP\nand could lead to TX packet starvation in case many TCP connections are\nopen in parallel. Therefore, allocate this packet structure statically,\nas a part of the TCP context instead.\n\nThis increases the memory requirement of the TCP context by ~64 bytes,\nhowever if that\u0027s a concern for the application, the maximum number of\nTX packets can be lowered instead. In return, we get a clear separation\nbetween the number of TCP connections opened, and the amount of packets\nthat can be transmitted.\n\nSigned-off-by: Robert Lubos \u003crobert.lubos@nordicsemi.no\u003e\n(cherry picked from commit eda76ad21b1748725c6d590204ee25d88caa9a82)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "607b4a3bf34445bb515de20974d36b308769d874",
      "old_mode": 33188,
      "old_path": "subsys/net/ip/tcp.c",
      "new_id": "7525208d7a9e7125f90d8eb93f56fa2ecc797efd",
      "new_mode": 33188,
      "new_path": "subsys/net/ip/tcp.c"
    },
    {
      "type": "modify",
      "old_id": "466910f43b8603dee635323a9d0bafd62c528d91",
      "old_mode": 33188,
      "old_path": "subsys/net/ip/tcp_private.h",
      "new_id": "9040252fbd33fbc6642e4992eb0eec102fceebd5",
      "new_mode": 33188,
      "new_path": "subsys/net/ip/tcp_private.h"
    }
  ]
}
