[PATCH 6.1 425/473] inet: factor out locked section of inet_accept() in a new helper