Skip to content
Commit e4fd5da3 authored by Pavel Emelianov's avatar Pavel Emelianov Committed by David S. Miller
Browse files

[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: default avatarPavel Emelianov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e07a91c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment