[TCP]: Consolidate checking for tcp orphan count being too big.
authorPavel Emelianov <xemul@openvz.org>
Tue, 29 May 2007 20:19:18 +0000 (13:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 31 May 2007 08:23:34 +0000 (01:23 -0700)
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>

No differences found