diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-04-08 22:01:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 05:58:37 +0300 |
commit | 70af921db6f8835f4b11c65731116560adb00c14 (patch) | |
tree | 396dc640e04cfaa80b07e9e701570dffb79bc2d9 /net/ipv4/tcp_veno.c | |
parent | a6d37131c02f15463daa00e2f1da6824e8e00de2 (diff) | |
download | linux-70af921db6f8835f4b11c65731116560adb00c14.tar.xz |
net: ipv6: Do not keep linklocal and loopback addresses
f1705ec197e7 added the option to retain user configured addresses on an
admin down. A comment to one of the later revisions suggested using the
IFA_F_PERMANENT flag rather than adding a user_managed boolean to the
ifaddr struct. A side effect of this change is that link local and
loopback addresses are also retained which is not part of the objective
of f1705ec197e7. Add check to drop those addresses.
Fixes: f1705ec197e7 ("net: ipv6: Make address flushing on ifdown optional")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_veno.c')
0 files changed, 0 insertions, 0 deletions