commit | 1819b83718dc3fe0aea0a2c3cd48d617e2003606 | [log] [tgz] |
---|---|---|
author | Allan Stephens <allan.stephens@windriver.com> | Tue Apr 15 00:15:50 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 15 00:15:50 2008 -0700 |
tree | aad3787178db838ac21b8e0dd05b472377cc5a74 | |
parent | 7a8036c2b93c8301afce8f75ac099c347bad569d [diff] |
[TIPC]: Correct "off by 1" error in socket queue limit enforcement This patch fixes a bug that allowed TIPC to queue 1 more message than allowed by the socket receive queue threshold limits. The patch also improves the threshold code's logic and naming to help prevent this sort of error from recurring in the future. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>