summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Jerram <neil@tigera.io>2017-03-10 15:24:57 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-13 09:28:43 +0300
commit88a7cddce2506b0b6c06a9f6e51379d0d275353b (patch)
tree306e11111ee87797344b527105512eb4dae73c9e
parent7ce101246655935b014b11d81f815342921f5654 (diff)
downloadlinux-88a7cddce2506b0b6c06a9f6e51379d0d275353b.tar.xz
Make IP 'forwarding' doc more precise
It wasn't clear if the 'forwarding' setting needs to be enabled on the interface that packets are received from, or on the interface that packets are forwarded to, or both. In fact (according to my code reading) the setting is relevant on the interface that packets are received from, so this change updates the doc to say that. Signed-off-by: Neil Jerram <neil@tigera.io> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--Documentation/networking/ip-sysctl.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index fc73eeb7b3b8..ab0230461377 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -1006,7 +1006,8 @@ accept_redirects - BOOLEAN
FALSE (router)
forwarding - BOOLEAN
- Enable IP forwarding on this interface.
+ Enable IP forwarding on this interface. This controls whether packets
+ received _on_ this interface can be forwarded.
mc_forwarding - BOOLEAN
Do multicast routing. The kernel needs to be compiled with CONFIG_MROUTE