OSDN Git Service

ipv6/addrconf: call addrconf_ifdown with consistent values
authorFlorent Fourcot <florent.fourcot@wifirst.fr>
Fri, 31 Jul 2020 13:32:06 +0000 (15:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 22:24:14 +0000 (15:24 -0700)
commitd208a42a62e70b9c86b46b7bad126eb862891314
tree7efb28fb4cd80a2d8f956254107c2abe53c0e121
parentb90a1269184a3ff374562d243419ad2fa9d3b1aa
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 <florent.fourcot@wifirst.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c