]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcabdb5733d3fb83d528b2eb8499abf216bfaea9
tree2490b342af184ed68a546eae63957849c73145a6
parent86b2c3805a0c2c411e9af751d64fab3e52544fea
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