Commit d208a42a authored by Florent Fourcot's avatar Florent Fourcot Committed by David S. Miller

ipv6/addrconf: call addrconf_ifdown with consistent values

Second parameter of addrconf_ifdown "how" is used as a boolean
internally. It does not make sense to call it with something different
of 0 or 1.

This value is set to 2 in all git history.
Signed-off-by: default avatarFlorent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b90a1269
...@@ -7189,7 +7189,7 @@ void addrconf_cleanup(void) ...@@ -7189,7 +7189,7 @@ void addrconf_cleanup(void)
continue; continue;
addrconf_ifdown(dev, 1); addrconf_ifdown(dev, 1);
} }
addrconf_ifdown(init_net.loopback_dev, 2); addrconf_ifdown(init_net.loopback_dev, 1);
/* /*
* Check hash table. * Check hash table.
......
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