All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] remove an outdated reference to T/TCP
@ 2011-12-06 20:00 Rick Jones
  2011-12-06 20:19 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Rick Jones @ 2011-12-06 20:00 UTC (permalink / raw)
  To: netdev


Remove a particularly out of date bit of comment referring to T/TCP.

Signed-off-by: Rick Jones <rick.jones2@hp.com>

---


diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 0cbb440..123e1be 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -5824,14 +5824,6 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
 			 * we just ignore it, that fits the spec precisely
 			 * and avoids incompatibilities. It would be nice in
 			 * future to drop through and process the data.
-			 *
-			 * Now that TTCP is starting to be used we ought to
-			 * queue this data.
-			 * But, this leaves one open to an easy denial of
-			 * service attack, and SYN cookies can't defend
-			 * against this problem. So, we drop the data
-			 * in the interest of security over speed unless
-			 * it's still in use.
 			 */
 			kfree_skb(skb);
 			return 0;

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-06 20:00 [PATCH net-next] remove an outdated reference to T/TCP Rick Jones
@ 2011-12-06 20:19 ` David Miller
  2011-12-06 21:39   ` Rick Jones
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2011-12-06 20:19 UTC (permalink / raw)
  To: rick.jones2; +Cc: netdev

From: Rick Jones <rick.jones2@hp.com>
Date: Tue,  6 Dec 2011 12:00:05 -0800 (PST)

> 
> Remove a particularly out of date bit of comment referring to T/TCP.
> 
> Signed-off-by: Rick Jones <rick.jones2@hp.com>

I think it should stay because it discusses the potential bad side
effects of queueing any data that might be in the SYN.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-06 20:19 ` David Miller
@ 2011-12-06 21:39   ` Rick Jones
  2011-12-06 21:42     ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Rick Jones @ 2011-12-06 21:39 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On 12/06/2011 12:19 PM, David Miller wrote:
> From: Rick Jones<rick.jones2@hp.com>
> Date: Tue,  6 Dec 2011 12:00:05 -0800 (PST)
>
>>
>> Remove a particularly out of date bit of comment referring to T/TCP.
>>
>> Signed-off-by: Rick Jones<rick.jones2@hp.com>
>
> I think it should stay because it discusses the potential bad side
> effects of queueing any data that might be in the SYN.

How about just the sentence that mentioned T/TCP explicitly since T/TCP 
is most definitely no longer starting to be used?-)  The rest of it can 
be discussed when/if TCP Fast Open arrives :)

rick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-06 21:39   ` Rick Jones
@ 2011-12-06 21:42     ` David Miller
  2011-12-06 23:00       ` Yuchung Cheng
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2011-12-06 21:42 UTC (permalink / raw)
  To: rick.jones2; +Cc: netdev

From: Rick Jones <rick.jones2@hp.com>
Date: Tue, 06 Dec 2011 13:39:23 -0800

> On 12/06/2011 12:19 PM, David Miller wrote:
>> From: Rick Jones<rick.jones2@hp.com>
>> Date: Tue,  6 Dec 2011 12:00:05 -0800 (PST)
>>
>>>
>>> Remove a particularly out of date bit of comment referring to T/TCP.
>>>
>>> Signed-off-by: Rick Jones<rick.jones2@hp.com>
>>
>> I think it should stay because it discusses the potential bad side
>> effects of queueing any data that might be in the SYN.
> 
> How about just the sentence that mentioned T/TCP explicitly since
> T/TCP is most definitely no longer starting to be used?-) The rest of
> it can be discussed when/if TCP Fast Open arrives :)

T/TCP gives the statement context, as in referencing something that
might make us want to at least theoretically consider handling the
data.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-06 21:42     ` David Miller
@ 2011-12-06 23:00       ` Yuchung Cheng
  2011-12-07  8:58         ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Yuchung Cheng @ 2011-12-06 23:00 UTC (permalink / raw)
  To: David Miller; +Cc: rick.jones2, netdev

On Tue, Dec 6, 2011 at 1:42 PM, David Miller <davem@davemloft.net> wrote:
>
> From: Rick Jones <rick.jones2@hp.com>
> Date: Tue, 06 Dec 2011 13:39:23 -0800
>
> > On 12/06/2011 12:19 PM, David Miller wrote:
> >> From: Rick Jones<rick.jones2@hp.com>
> >> Date: Tue,  6 Dec 2011 12:00:05 -0800 (PST)
> >>
> >>>
> >>> Remove a particularly out of date bit of comment referring to T/TCP.
> >>>
> >>> Signed-off-by: Rick Jones<rick.jones2@hp.com>
> >>
> >> I think it should stay because it discusses the potential bad side
> >> effects of queueing any data that might be in the SYN.
> >
> > How about just the sentence that mentioned T/TCP explicitly since
> > T/TCP is most definitely no longer starting to be used?-) The rest of
> > it can be discussed when/if TCP Fast Open arrives :)
>
> T/TCP gives the statement context, as in referencing something that
> might make us want to at least theoretically consider handling the
> data.
I am fine keeping the comment as is.  This does remind me to put more
comments on this part of the code in our upcoming Fast Open patch :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-06 23:00       ` Yuchung Cheng
@ 2011-12-07  8:58         ` Eric Dumazet
  2011-12-08  2:00           ` Yuchung Cheng
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Dumazet @ 2011-12-07  8:58 UTC (permalink / raw)
  To: Yuchung Cheng; +Cc: David Miller, rick.jones2, netdev

Le mardi 06 décembre 2011 à 15:00 -0800, Yuchung Cheng a écrit :

> I am fine keeping the comment as is.  This does remind me to put more
> comments on this part of the code in our upcoming Fast Open patch :)

This sounds great.

Is TFO patch using inetpeer cache to store cookies ?

(I ask this because TFO paper I read mentions linux-2.6.34, I presume
you couldnt use inetpeer at that time since it was IPv4 only)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH net-next] remove an outdated reference to T/TCP
  2011-12-07  8:58         ` Eric Dumazet
@ 2011-12-08  2:00           ` Yuchung Cheng
  0 siblings, 0 replies; 7+ messages in thread
From: Yuchung Cheng @ 2011-12-08  2:00 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: David Miller, rick.jones2, netdev

On Wed, Dec 7, 2011 at 12:58 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> Le mardi 06 décembre 2011 à 15:00 -0800, Yuchung Cheng a écrit :
>
>> I am fine keeping the comment as is.  This does remind me to put more
>> comments on this part of the code in our upcoming Fast Open patch :)
>
> This sounds great.
>
> Is TFO patch using inetpeer cache to store cookies ?
>
> (I ask this because TFO paper I read mentions linux-2.6.34, I presume
> you couldnt use inetpeer at that time since it was IPv4 only)

Very interesting! I didn't know inetpeer cache earlier so we implement
own. duh! I will certainly look into it. Thanks for this tip.
From the surface, it does not seem too difficult to extend inetpeer for IPv6?

Yuchung

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-08  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 20:00 [PATCH net-next] remove an outdated reference to T/TCP Rick Jones
2011-12-06 20:19 ` David Miller
2011-12-06 21:39   ` Rick Jones
2011-12-06 21:42     ` David Miller
2011-12-06 23:00       ` Yuchung Cheng
2011-12-07  8:58         ` Eric Dumazet
2011-12-08  2:00           ` Yuchung Cheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.