LAW 16: Offences & Sanctions: back pass to goalkeeper

LAW 16: Offences & Sanctions:

if the goalkeeper receives the ball from a team mate, but then passes the ball back to the team mate, is this allowed ?

Does the game therefore continue or is an indirect free kick awarded to the opposing team?

Thank you