Commit 07f37410 authored by Ville Nuorvala's avatar Ville Nuorvala Committed by David S. Miller

[IPV6]: addrconf_sysctl_forward_strategy() needs to invoke rt6_purge_dflt_routers() too.

parent 2e18152b
...@@ -3030,6 +3030,9 @@ static int addrconf_sysctl_forward_strategy(ctl_table *table, ...@@ -3030,6 +3030,9 @@ static int addrconf_sysctl_forward_strategy(ctl_table *table,
idev = NULL; idev = NULL;
*valp = new; *valp = new;
addrconf_forward_change(idev); addrconf_forward_change(idev);
if (*valp)
rt6_purge_dflt_routers(0);
} else } else
*valp = new; *valp = new;
......
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