[TIPC]: Correct "off by 1" error in socket queue limit enforcement
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Apr 2008 07:15:50 +0000 (00:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Apr 2008 07:15:50 +0000 (00:15 -0700)
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>

No differences found