]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[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)
commite4fd5da39f99d5921dda1fe3d93652fbd925fbfd
tree595967b745720653cdc0f7c9e5d61c5433ea143e
parent4e07a91c37c69ec1647c218214591ee4fe3408fe
[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>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_timer.c