ipv6: addrconf: don't evaluate keep_addr_on_down twice
authorIvan Vecera <cera@cera.cz>
Tue, 24 Apr 2018 17:51:29 +0000 (19:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Apr 2018 17:03:37 +0000 (13:03 -0400)
commit0aef78aa7b39829a2a46c1c0e6e96276d744e07a
tree2490b342af184ed68a546eae63957849c73145a6
parentb5facfdba14ccb440bd1eac20870a8f23afa17f3
ipv6: addrconf: don't evaluate keep_addr_on_down twice

The addrconf_ifdown() evaluates keep_addr_on_down state twice. There
is no need to do it.

Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Ivan Vecera <cera@cera.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c