Commit 8ff397fb authored by David S. Miller's avatar David S. Miller

[IPV4]: Fix setting net.ipv4.conf.all.forwarding via sysctl() system call.

parent 0788f64b
...@@ -109,6 +109,7 @@ static int ipv4_sysctl_forward_strategy(ctl_table *table, int *name, int nlen, ...@@ -109,6 +109,7 @@ static int ipv4_sysctl_forward_strategy(ctl_table *table, int *name, int nlen,
} }
} }
*valp = new;
inet_forward_change(); inet_forward_change();
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment