Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325599
b: refs/heads/master
c: 0a44ab4
h: refs/heads/master
i:
  325597: a8fa54c
  325595: b2de3c2
  325591: cf939c2
  325583: 7a2e34a
  325567: cf75ad9
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jun 27, 2012
1 parent 61496a3 commit ed92331
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc915c8b930c3114f2a838f7e2cd8789ad6fedc3
refs/heads/master: 0a44ab41eb833d07e3ec807d87151c7164d4f075
6 changes: 6 additions & 0 deletions trunk/drivers/tty/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,12 @@ static void n_tty_receive_buf(struct tty_struct *tty, const unsigned char *cp,
*/
if (tty->receive_room < TTY_THRESHOLD_THROTTLE)
tty_throttle(tty);

/* FIXME: there is a tiny race here if the receive room check runs
before the other work executes and empties the buffer (upping
the receiving room and unthrottling. We then throttle and get
stuck. This has been observed and traced down by Vincent Pillet/
We need to address this when we sort out out the rx path locking */
}

int is_ignored(int sig)
Expand Down

0 comments on commit ed92331

Please sign in to comment.