Skip to contentSkip to conversation

ip: add fastopen_no_cookie option to ip route

PATCH Applied Christoph Paasch 2 participants 4 messages Oct 26, 2017 – Oct 31, 2017

Subsystems (2)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip: add fastopen_no_cookie option to ip route

This patch adds fastopen_no_cookie option to enable/disable TCP fastopen without a cookie on a per-route basis.

Support in Linux was added with 71c02379c762 (tcp: Configure TFO without cookie per socket and/or per route).

Cc Stephen Hemminger <[email protected]>
---
 include/uapi/linux/rtnetlink.h |  2 ++
 ip/iproute.c                   | 42 ++++++++++++++++++++++++++----------------
 man/man8/ip-route.8.in         |  6 ++++++
 3 files changed, 34 insertions(+), 16 deletions(-)
include/uapi/linux/rtnetlink.h +2 -0
index 813e9e0767d3..ff0eec7329c6 100644
@@ -430,6 +430,8 @@ enum {
 #define RTAX_QUICKACK RTAX_QUICKACK
 	RTAX_CC_ALGO,
 #define RTAX_CC_ALGO RTAX_CC_ALGO
+	RTAX_FASTOPEN_NO_COOKIE,
+#define RTAX_FASTOPEN_NO_COOKIE RTAX_FASTOPEN_NO_COOKIE
 	__RTAX_MAX
 };
 
ip/iproute.c +26 -16

60 lines not on this page · raw message

man/man8/ip-route.8.in +6 -0
index 705ceb2054dc..a863769526f3 100644
@@ -142,6 +142,8 @@ replace " } "
 .IR PREF " ] [ "
 .B  expires
 .IR TIME " ]"
+.B  fastopen_no_cookie
+.IR BOOL " ] [ "
 
 .ti -8
 .IR TYPE " := [ "
@@ -524,6 +526,10 @@ sysctl is set to 0.
 .BI quickack " BOOL " "(3.11+ only)"
 Enable or disable quick ack for connections to this destination.
 
+.TP
+.BI fastopen_no_cookie " BOOL " "(4.15+ only)"
+Enable TCP Fastopen without a cookie for connections to this destination.
+
 .TP
 .BI congctl " NAME " "(3.20+ only)"
 .TP
Signature · 1 line
2.14.1
#1 lore raw
Quoted 8 lines · On Thu, 26 Oct 2017 11:10:38 -0700 Christoph Paasch <[email protected]> wrote:

This patch adds fastopen_no_cookie option to enable/disable TCP fastopen without a cookie on a per-route basis.

Support in Linux was added with 71c02379c762 (tcp: Configure TFO without cookie per socket and/or per route).

Cc Stephen Hemminger <[email protected]>

Applied, thanks Christoph.

#2 lore raw

Hello Stephen,

Quoted 6 lines · Stephen Hemminger
Quoted 3 lines · On Thu, 26 Oct 2017 11:10:38 -0700 Christoph Paasch <[email protected]> wrote:

This patch adds fastopen_no_cookie option to enable/disable TCP fastopen without a cookie on a per-route basis.

Quoted 7 lines
Quoted 5 lines

Support in Linux was added with 71c02379c762 (tcp: Configure TFO without cookie per socket and/or per route).

Cc Stephen Hemminger <[email protected]>

Applied, thanks Christoph.

I see that this patch is not yet in your repo.

With the recent changes that went in, it also won't apply cleanly.

Do you want me to rebase & resubmit the patch?

Christoph

#3 lore raw
Quoted 17 lines · On Tue, 31 Oct 2017 12:35:10 -0700 Christoph Paasch <[email protected]> wrote:

Hello Stephen,

Quoted 6 lines · Stephen Hemminger
Quoted 3 lines · On Thu, 26 Oct 2017 11:10:38 -0700 Christoph Paasch <[email protected]> wrote:

This patch adds fastopen_no_cookie option to enable/disable TCP fastopen without a cookie on a per-route basis.

Quoted 7 lines
Quoted 5 lines

Support in Linux was added with 71c02379c762 (tcp: Configure TFO without cookie per socket and/or per route).

Cc Stephen Hemminger <[email protected]>

Applied, thanks Christoph.

Quoted 8 lines

I see that this patch is not yet in your repo.

With the recent changes that went in, it also won't apply cleanly.

Do you want me to rebase & resubmit the patch?

Christoph

Not sure where it got lost. Please resubmit against net-next branch