This cl protects the access to the max_packet_size_, without fixing the underlying race; the value is simply copied to a local variable, whose value might be stale when used. BUG=webrtc:7189 Review-Url: https://codereview.webrtc.org/2704263003 Cr-Commit-Position: refs/heads/master@{#16754}