Each loop iteration in main_loop sets the tsp pointer to null. This means tsp is not guaranteed to actually point anywhere valid hence we need to check before using it. This is only applicable if ppoll is missing and no interfaces are found to expire.
Each loop iteration in main_loop sets the tsp pointer to null. This means tsp is not guaranteed to actually point anywhere valid hence we need to check before using it. This is only applicable if ppoll is missing and no interfaces are found to expire.