]> err.no Git - linux-2.6/commit
svc: Move connection limit checking to its own function
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:40 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:09 +0000 (16:42 -0500)
commitf9f3cc4fae04c87c815a4b473fb577cf74ef27da
tree906550a4f9db0bf79adea43b3b9ac1fbc2b2c4e6
parent44a6995b32eb9b021ee71b279edb84728c9f5160
svc: Move connection limit checking to its own function

Move the code that poaches connections when the connection limit is hit
to a subroutine to make the accept logic path easier to follow. Since this
is in the new connection path, it should not be a performance issue.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svcsock.c