)]}'
{
  "commit": "acc71bbad33478973dbed68ebbc2d76dac9a51bd",
  "tree": "6cf78a3f0de9811bdc30739ccd01a4db6c4b3baf",
  "parents": [
    "a59c0d6f14315a3f300f6f3786137213727e4c47"
  ],
  "author": {
    "name": "Joe Peterson",
    "email": "joe@skyrush.com",
    "time": "Fri Jan 02 13:43:32 2009 +0000"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Jan 02 10:19:37 2009 -0800"
  },
  "message": "n_tty: Fix hanfling of buffer full corner cases\n\nFix the handling of input characters when the tty buffer is full or nearly\nfull.  This includes tests that are done in n_tty_receive_char() and handling\nof PARMRK.\n\nProblems with the buffer-full tests done in receive_char() caused characters to\nbe lost at times when the buffer(s) filled.  Also, these full conditions\nwould often only be detected with echo on, and PARMRK was not accounted for\nproperly in all cases.  One symptom of these problems, in addition to lost\ncharacters, was early termination from unix commands like tr and cat when\n^Q was used to break from a stopped tty with full buffers (note that breaking\nout was often previously not possible, due to the pty getting in \"gridlock\",\nwhich will be addressed in another patch).  Note space is always reserved\nat the end of the buffer for a newline (or EOF/EOL) in canonical mode.\n\nSigned-off-by: Joe Peterson \u003cjoe@skyrush.com\u003e\nSigned-off-by: Alan Cox \u003calan@redhat.com\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "30b0426b3788ffc6c523beaa37cdc5c1d156ef7a",
      "old_mode": 33188,
      "old_path": "drivers/char/n_tty.c",
      "new_id": "4b1e96b65ab00b6ae4d5d913d5309bd0ed3283fd",
      "new_mode": 33188,
      "new_path": "drivers/char/n_tty.c"
    }
  ]
}
