Message ID | 1489148697-5529-1-git-send-email-neil@tigera.io |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Neil Jerram <neil@tigera.io> Date: Fri, 10 Mar 2017 12:24:57 +0000 > 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> Applied.
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index fc73eeb..ab02304 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
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> --- Documentation/networking/ip-sysctl.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)