net/ipv6: init ip6 anycast rt->dst.input as ip6_input
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 23 Aug 2018 03:31:37 +0000 (11:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 04:48:37 +0000 (21:48 -0700)
commitd23c4b6336ef30898dcdff351f21e633e7a64930
tree7acf6965e25b802eb1f4a9d3e303b2ed93c5f991
parent58ce660f911c9fae146a94245efb04b4af6f02a9
net/ipv6: init ip6 anycast rt->dst.input as ip6_input

Commit 6edb3c96a5f02 ("net/ipv6: Defer initialization of dst to data path")
forgot to handle anycast route and init anycast rt->dst.input to ip6_forward.
Fix it by setting anycast rt->dst.input back to ip6_input.

Fixes: 6edb3c96a5f02 ("net/ipv6: Defer initialization of dst to data path")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c