All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] Documentation: ip-sysctl.txt: Document tcp_fwmark_accept
@ 2018-10-29  0:30 Lorenzo Colitti
  2018-10-30  3:42 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Colitti @ 2018-10-29  0:30 UTC (permalink / raw)
  To: netdev; +Cc: davem, zenczykowski, Lorenzo Colitti

This patch documents the tcp_fwmark_accept sysctl that was
added in 3.15.

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
---
 Documentation/networking/ip-sysctl.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index 163b5ff107..32b21571ad 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -316,6 +316,17 @@ tcp_frto - INTEGER
 
 	By default it's enabled with a non-zero value. 0 disables F-RTO.
 
+tcp_fwmark_accept - BOOLEAN
+	If set, incoming connections to listening sockets that do not have a
+	socket mark will set the mark of the accepting socket to the fwmark of
+	the incoming SYN packet. This will cause all packets on that connection
+	(starting from the first SYNACK) to be sent with that fwmark. The
+	listening socket's mark is unchanged. Listening sockets that already
+	have a fwmark set via setsockopt(SOL_SOCKET, SO_MARK, ...) are
+	unaffected.
+
+	Default: 0
+
 tcp_invalid_ratelimit - INTEGER
 	Limit the maximal rate for sending duplicate acknowledgments
 	in response to incoming TCP packets that are for an existing
-- 
2.19.1.568.g152ad8e336-goog

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

* Re: [PATCH net] Documentation: ip-sysctl.txt: Document tcp_fwmark_accept
  2018-10-29  0:30 [PATCH net] Documentation: ip-sysctl.txt: Document tcp_fwmark_accept Lorenzo Colitti
@ 2018-10-30  3:42 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-10-30  3:42 UTC (permalink / raw)
  To: lorenzo; +Cc: netdev, zenczykowski

From: Lorenzo Colitti <lorenzo@google.com>
Date: Mon, 29 Oct 2018 09:30:29 +0900

> This patch documents the tcp_fwmark_accept sysctl that was
> added in 3.15.
> 
> Signed-off-by: Lorenzo Colitti <lorenzo@google.com>

Applied, thanks Lorenzo.

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

end of thread, other threads:[~2018-10-30 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-29  0:30 [PATCH net] Documentation: ip-sysctl.txt: Document tcp_fwmark_accept Lorenzo Colitti
2018-10-30  3:42 ` David Miller

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.