Would the following sentence, by the strictest standards, be considered correct by a linguist?

That evening John laughed with everybody he talked to.
acceptable