diff mbox series

[net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl

Message ID 1396.1612834621@famine (mailing list archive)
State Accepted
Commit 8cf5d8cc3eae2a6324ff81aa5f2f6c2f52bc5cd0
Delegated to: Netdev Maintainers
Headers show
Series [net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success No Fixes tags, but series doesn't touch code
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net
netdev/subject_prefix success Link
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 25 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

Jay Vosburgh Feb. 9, 2021, 1:37 a.m. UTC
Provide documentation for src_valid_mark sysctl, which was added
in commit 28f6aeea3f12 ("net: restore ip source validation").

Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>

---
 Documentation/networking/ip-sysctl.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 9, 2021, 7:20 p.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 08 Feb 2021 17:37:01 -0800 you wrote:
> Provide documentation for src_valid_mark sysctl, which was added
> in commit 28f6aeea3f12 ("net: restore ip source validation").
> 
> Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com>
> 
> ---
>  Documentation/networking/ip-sysctl.rst | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)

Here is the summary with links:
  - [net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl
    https://git.kernel.org/netdev/net-next/c/8cf5d8cc3eae

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index fa544e9037b9..0fb39c895c95 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -1425,6 +1425,25 @@  rp_filter - INTEGER
 	Default value is 0. Note that some distributions enable it
 	in startup scripts.
 
+src_valid_mark - BOOLEAN
+	- 0 - The fwmark of the packet is not included in reverse path
+	  route lookup.  This allows for asymmetric routing configurations
+	  utilizing the fwmark in only one direction, e.g., transparent
+	  proxying.
+
+	- 1 - The fwmark of the packet is included in reverse path route
+	  lookup.  This permits rp_filter to function when the fwmark is
+	  used for routing traffic in both directions.
+
+	This setting also affects the utilization of fmwark when
+	performing source address selection for ICMP replies, or
+	determining addresses stored for the IPOPT_TS_TSANDADDR and
+	IPOPT_RR IP options.
+
+	The max value from conf/{all,interface}/src_valid_mark is used.
+
+	Default value is 0.
+
 arp_filter - BOOLEAN
 	- 1 - Allows you to have multiple network interfaces on the same
 	  subnet, and have the ARPs for each interface be answered