[PATCH 5.15 050/484] tcp: add tcp_done_with_error() helper