On Thu, Aug 04, 2022 at 12:34:09PM +0530, Sanjay R Mehta wrote: > >> tunnel = tb_tunnel_discover_dp(tb, port, alloc_hopids); > > > > Here tunnel can be NULL... > > > >> + tb_dp_resource_available_discovered(tb, tunnel->dst_port); > > > > ... so this will crash and burn. > > Thanks. Agree, I will add check here and resend the patch. Please don't add the check here but move this to tb_start() as I suggested.