summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2020-07-07 07:39:24 -0600
committerDavid S. Miller <davem@davemloft.net>2020-07-07 13:04:16 -0700
commitaea23c323d89836bcdcee67e49def997ffca043b (patch)
tree7e63e44e32b6bea19471ae17cc75cc30361dadd2 /kernel/cgroup
parentf815dd5cf48b905eeecf0a2b990e9b7ab048b4f1 (diff)
downloadlinux-aea23c323d89836bcdcee67e49def997ffca043b.tar.bz2
ipv6: Fix use of anycast address with loopback
Thomas reported a regression with IPv6 and anycast using the following reproducer: echo 1 > /proc/sys/net/ipv6/conf/all/forwarding ip -6 a add fc12::1/16 dev lo sleep 2 echo "pinging lo" ping6 -c 2 fc12:: The conversion of addrconf_f6i_alloc to use ip6_route_info_create missed the use of fib6_is_reject which checks addresses added to the loopback interface and sets the REJECT flag as needed. Update fib6_is_reject for loopback checks to handle RTF_ANYCAST addresses. Fixes: c7a1ce397ada ("ipv6: Change addrconf_f6i_alloc to use ip6_route_info_create") Reported-by: thomas.gambier@nexedi.com Signed-off-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/cgroup')
0 files changed, 0 insertions, 0 deletions