Protostellar feedback in massive star-forming regions