)]}'
{
  "commit": "e57edf6b6dba975eceede20b4b13699d4e88cd78",
  "tree": "c81b8874b5c5de21c01397f1e7d719fe78a34c8c",
  "parents": [
    "096895818cbf3382dc318f369e642fb7460ccb26"
  ],
  "author": {
    "name": "Erik Hugne",
    "email": "erik.hugne@ericsson.com",
    "time": "Thu Oct 04 05:00:43 2012 +0000"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Thu Oct 04 15:53:48 2012 -0400"
  },
  "message": "tipc: prevent dropped connections due to rcvbuf overflow\n\nWhen large buffers are sent over connected TIPC sockets, it\nis likely that the sk_backlog will be filled up on the\nreceiver side, but the TIPC flow control mechanism is happily\nunaware of this since that is based on message count.\n\nThe sender will receive a TIPC_ERR_OVERLOAD message when this occurs\nand drop it\u0027s side of the connection, leaving it stale on\nthe receiver end.\n\nBy increasing the sk_rcvbuf to a \u0027worst case\u0027 value, we avoid the\noverload caused by a full backlog queue and the flow control\nwill work properly.\n\nThis worst case value is the max TIPC message size times\nthe flow control window, multiplied by two because a sender\nwill transmit up to double the window size before a port is marked\ncongested.\nWe multiply this by 2 to account for the sk_buff and other overheads.\n\nSigned-off-by: Erik Hugne \u003cerik.hugne@ericsson.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "09dc5b97e07957d2ebb737cf402202efaf7c78ab",
      "old_mode": 33188,
      "old_path": "net/tipc/socket.c",
      "new_id": "fd5f042dbff4d8a8a47c2a532e0d0ac5d0a70cd2",
      "new_mode": 33188,
      "new_path": "net/tipc/socket.c"
    }
  ]
}
