ipv4: fix NULL pointer + success return in route lookup path