[PATCH 6.10 173/809] tcp: add tcp_done_with_error() helper