Skip to content

Commit d208a42

Browse files
ffourcotdavem330
authored andcommitted
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: Florent Fourcot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b90a126 commit d208a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/addrconf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7189,7 +7189,7 @@ void addrconf_cleanup(void)
71897189
continue;
71907190
addrconf_ifdown(dev, 1);
71917191
}
7192-
addrconf_ifdown(init_net.loopback_dev, 2);
7192+
addrconf_ifdown(init_net.loopback_dev, 1);
71937193

71947194
/*
71957195
* Check hash table.

0 commit comments

Comments
 (0)