SIGN IN SIGN UP

Fix TOCTOU MSG_PEEK bug in endpoint read methods.

This fixes a race condition where peeking a packet did not increment
its reference count before releasing the queue mutex.

PiperOrigin-RevId: 964890164
N
Nayana Bidari committed
96112bd75f6f5c7857cf6ae22e493c625848604a
Parent: 32d6f00
Committed by gVisor bot <gvisor-bot@google.com> on 8/14/2026, 9:29:32 PM