ipv6: fix tunnel error handling