diff options
author | Tom Zanussi <[email protected]> | 2008-08-05 13:01:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-08-05 14:33:46 -0700 |
commit | 32194450330be327f3b25bf6b66298bd122599e9 (patch) | |
tree | 48efcfe62b2c09396f4d9e03839f53e1577a4019 /net/unix/sysctl_net_unix.c | |
parent | 60cadec9da7b6c91aca51f408c828f7e74a68379 (diff) |
relay: fix "full buffer with exactly full last subbuffer" accounting problem
In relay's current read implementation, if the buffer is completely full
but hasn't triggered the buffer-full condition (i.e. the last write
didn't cross the subbuffer boundary) and the last subbuffer is exactly
full, the subbuffer accounting code erroneously finds nothing available.
This patch fixes the problem.
Signed-off-by: Tom Zanussi <[email protected]>
Cc: Eduard - Gabriel Munteanu <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrea Righi <[email protected]>
Cc: <[email protected]> [2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions