commit | e4fd5da39f99d5921dda1fe3d93652fbd925fbfd | [log] [tgz] |
---|---|---|
author | Pavel Emelianov <xemul@openvz.org> | Tue May 29 13:19:18 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Thu May 31 01:23:34 2007 -0700 |
tree | 595967b745720653cdc0f7c9e5d61c5433ea143e | |
parent | 4e07a91c37c69ec1647c218214591ee4fe3408fe [diff] |
[TCP]: Consolidate checking for tcp orphan count being too big. tcp_out_of_resources() and tcp_close() perform the same checking of number of orphan sockets. Move this code into common place. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>