Re: [RFC PATCH] network: return errors if we know tcp_connect failed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Thursday, November 11, 2010 - 2:14 pm

Le jeudi 11 novembre 2010 à 16:03 -0500, Eric Paris a écrit :


I think its an interesting idea, but a temporary memory shortage would
abort the connect().

We could imagine some special handling of the first packet of a flow
being DROPED for whatever reason (flow control...)

So it needs some refinement I think.

SYN packets should be allowed to be re-transmitted before saying a TCP
connect() cannot succeed.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH] network: return errors if we know tcp_conn ..., Eric Dumazet, (Thu Nov 11, 2:14 pm)
a problem tcp_v4_err(), Alexey Kuznetsov, (Fri Nov 12, 10:57 am)
Re: a problem tcp_v4_err(), Eric Dumazet, (Fri Nov 12, 11:12 am)
Re: a problem tcp_v4_err(), Eric Dumazet, (Fri Nov 12, 11:21 am)
Re: a problem tcp_v4_err(), Eric Dumazet, (Fri Nov 12, 11:27 am)
Re: a problem tcp_v4_err(), Alexey Kuznetsov, (Fri Nov 12, 11:29 am)
Re: a problem tcp_v4_err(), Alexey Kuznetsov, (Fri Nov 12, 11:31 am)
Re: a problem tcp_v4_err(), Eric Dumazet, (Fri Nov 12, 11:33 am)
Re: a problem tcp_v4_err(), David Miller, (Fri Nov 12, 12:22 pm)
Re: a problem tcp_v4_err(), Eric Dumazet, (Fri Nov 12, 2:18 pm)
Re: a problem tcp_v4_err(), David Miller, (Fri Nov 12, 2:36 pm)