]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: don't disable interface if last ipv6 address is removed
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sun, 23 Jun 2013 22:22:20 +0000 (00:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:23:03 +0000 (16:23 -0700)
commita6fb83f565bf04781f2c4ae9d1aa5ed5f12af542
tree2af566a9eff0251a814aa23c0ba854e2f1a8754e
parente4dc5423a9680cb333cf779bd6c7728fd72e7a02
ipv6: don't disable interface if last ipv6 address is removed

The reason behind this change is that as soon as we delete
the last ipv6 address of an interface we also lose the
/proc/sys/net/ipv6/conf/<interface> directory. This seems to be a
usability problem for me.

I don't see any reason why we should shutdown ipv6 on that interface in
such cases.

Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c