[PATCH 6.6 122/568] tcp: add tcp_done_with_error() helper