)]}'
{
  "commit": "86d8c07ff2448eb4e860e50f34ef6ee78e45c40c",
  "tree": "f9ea58e3a3f5c9bcff28e36feb9b444d78fb0e9c",
  "parents": [
    "fa0f5aa74316c636427ac92dad0bc5714c34ca17"
  ],
  "author": {
    "name": "Sascha Hauer",
    "email": "s.hauer@pengutronix.de",
    "time": "Tue Jan 03 05:27:47 2012 +0000"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Tue Jan 03 13:50:49 2012 -0500"
  },
  "message": "net/davinci: do not use all descriptors for tx packets\n\nThe driver uses a shared pool for both rx and tx descriptors.\nDuring open it queues fixed number of 128 descriptors for receive\npackets. For each received packet it tries to queue another\ndescriptor. If this fails the descriptor is lost for rx.\nThe driver has no limitation on tx descriptors to use, so it\ncan happen during a nmap / ping -f attack that the driver\nallocates all descriptors for tx and looses all rx descriptors.\nThe driver stops working then.\nTo fix this limit the number of tx descriptors used to half of\nthe descriptors available, the rx path uses the other half.\n\nTested on a custom board using nmap / ping -f to the board from\ntwo different hosts.\n\nSigned-off-by: Sascha Hauer \u003cs.hauer@pengutronix.de\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "815c7970261bc2ee09e8b8107afe6463aeffe69c",
      "old_mode": 33188,
      "old_path": "drivers/net/ethernet/ti/davinci_emac.c",
      "new_id": "794ac30a577b61b1baaf8a1499c1e0f9ee41bcaf",
      "new_mode": 33188,
      "new_path": "drivers/net/ethernet/ti/davinci_emac.c"
    }
  ]
}
