projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90a126
)
ipv6/addrconf: call addrconf_ifdown with consistent values
author
Florent Fourcot
<florent.fourcot@wifirst.fr>
Fri, 31 Jul 2020 13:32:06 +0000
(15:32 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Aug 2020 22:24:14 +0000
(15:24 -0700)
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: Florent Fourcot <florent.fourcot@wifirst.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
patch
|
blob
|
history
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index 840bfdb3d7bd8da2d7a8bd77649c51a3a7e197c4..861265fa9d6d250ceefb002afe707f116705e2b2 100644
(file)
--- a/
net/ipv6/addrconf.c
+++ b/
net/ipv6/addrconf.c
@@
-7189,7
+7189,7
@@
void addrconf_cleanup(void)
continue;
addrconf_ifdown(dev, 1);
}
- addrconf_ifdown(init_net.loopback_dev,
2
);
+ addrconf_ifdown(init_net.loopback_dev,
1
);
/*
* Check hash table.