Hi Julian, Could we consider the following instead of casting? union nf_inet_addr raddr; ... raddr.ip = cih->daddr; ... est = ip_vs_find_tunnel(ipvs, AF_INET, &raddr, 0); ...
Add ip_vs_find_tunnel() to match tunnel headers by family, address and optional port. Use it to properly find the tunnel real server used in received ICMP errors. Signed-off-by: Julian Anastasov <ja@