diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-09-05 14:33:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-07 16:10:07 -0700 |
commit | de185ab46cb02df9738b0d898b0c3a89181c5526 (patch) | |
tree | be9fe4618a8948d3bbb719b8cf02c66e79dcf862 /include/net | |
parent | bc55dc63b2710ded4aba875c367f024d73660020 (diff) | |
download | op-kernel-dev-de185ab46cb02df9738b0d898b0c3a89181c5526.zip op-kernel-dev-de185ab46cb02df9738b0d898b0c3a89181c5526.tar.gz |
ipv6: restore the behavior of ipv6_sock_ac_drop()
It is possible that the interface is already gone after joining
the list of anycast on this interface as we don't hold a refcount
for the device, in this case we are safe to ignore the error.
What's more important, for API compatibility we should not
change this behavior for applications even if it were correct.
Fixes: commit a9ed4a2986e13011 ("ipv6: fix rtnl locking in setsockopt for anycast and multicast")
Cc: Sabrina Dubroca <sd@queasysnail.net>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions