net: gem: Separate recv and free_pkt functions