mirror of
https://github.com/torvalds/linux.git
synced 2026-09-16 16:14:33 -04:00
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>