[PATCH stable 4.19 3/4] tcp: create a helper to model exponential backoff