)]}'
{
  "commit": "cc79dd1ba9c1021c2ac6ae200a65ec38ee8db351",
  "tree": "86ffd4e43a1fb2d833a750ea713ce81b0af5df63",
  "parents": [
    "8941bbcd572a8860ad03c76e2f3d1dafa820b842"
  ],
  "author": {
    "name": "Ying Xue",
    "email": "ying.xue@windriver.com",
    "time": "Mon Jun 17 10:54:37 2013 -0400"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Mon Jun 17 15:53:00 2013 -0700"
  },
  "message": "tipc: change socket buffer overflow control to respect sk_rcvbuf\n\nAs per feedback from the netdev community, we change the buffer\noverflow protection algorithm in receiving sockets so that it\nalways respects the nominal upper limit set in sk_rcvbuf.\n\nInstead of scaling up from a small sk_rcvbuf value, which leads to\nviolation of the configured sk_rcvbuf limit, we now calculate the\nweighted per-message limit by scaling down from a much bigger value,\nstill in the same field, according to the importance priority of the\nreceived message.\n\nTo allow for administrative tunability of the socket receive buffer\nsize, we create a tipc_rmem sysctl variable to allow the user to\nconfigure an even bigger value via sysctl command.  It is a size of\nthree (min/default/max) to be consistent with things like tcp_rmem.\n\nBy default, the value initialized in tipc_rmem[1] is equal to the\nreceive socket size needed by a TIPC_CRITICAL_IMPORTANCE message.\nThis value is also set as the default value of sk_rcvbuf.\n\nOriginally-by: Jon Maloy \u003cjon.maloy@ericsson.com\u003e\nCc: Neil Horman \u003cnhorman@tuxdriver.com\u003e\nCc: Jon Maloy \u003cjon.maloy@ericsson.com\u003e\n[Ying: added sysctl variation to Jon\u0027s original patch]\nSigned-off-by: Ying Xue \u003cying.xue@windriver.com\u003e\n[PG: don\u0027t compile sysctl.c if not config\u0027d; add Documentation]\nSigned-off-by: Paul Gortmaker \u003cpaul.gortmaker@windriver.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "85ab72dcdc3c9f61198555b56020f84edfe2554b",
      "old_mode": 33188,
      "old_path": "Documentation/sysctl/net.txt",
      "new_id": "5369879eafe2f7b55f2aba9a966b260f856837ce",
      "new_mode": 33188,
      "new_path": "Documentation/sysctl/net.txt"
    },
    {
      "type": "modify",
      "old_id": "4df8e02d900823cbb417e1f032bee672f9081966",
      "old_mode": 33188,
      "old_path": "net/tipc/Makefile",
      "new_id": "02636d0a90cf46c95e0c5a9f362f4b61a4345eac",
      "new_mode": 33188,
      "new_path": "net/tipc/Makefile"
    },
    {
      "type": "modify",
      "old_id": "7ec2c1eb94f17a40db04bb004a6abf35f2fc25cf",
      "old_mode": 33188,
      "old_path": "net/tipc/core.c",
      "new_id": "b0e42a0872910086dafeba9466ea9df5d34ba5b2",
      "new_mode": 33188,
      "new_path": "net/tipc/core.c"
    },
    {
      "type": "modify",
      "old_id": "0207db04179a00feecf6f2cc04ded91f40f1db45",
      "old_mode": 33188,
      "old_path": "net/tipc/core.h",
      "new_id": "fe7f2b7c19fe03bc2541eacb6008d3ecc7f2a22c",
      "new_mode": 33188,
      "new_path": "net/tipc/core.h"
    },
    {
      "type": "modify",
      "old_id": "fb66e2e5f4d1a93348c24e212946d74c776c0331",
      "old_mode": 33188,
      "old_path": "net/tipc/port.h",
      "new_id": "2485649c408aee65caffbb1137ee52b1370f09f0",
      "new_mode": 33188,
      "new_path": "net/tipc/port.h"
    },
    {
      "type": "modify",
      "old_id": "515ce38e4f4c7286023f32f4c8c692af2787ec80",
      "old_mode": 33188,
      "old_path": "net/tipc/socket.c",
      "new_id": "aba4255f297becbf1f3ef73043d507eb4d1c7861",
      "new_mode": 33188,
      "new_path": "net/tipc/socket.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f3fef93325a8977c0e22ffe8cb0fd9a2302cff0e",
      "new_mode": 33188,
      "new_path": "net/tipc/sysctl.c"
    }
  ]
}
