diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2019-12-03 14:40:22 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-03 14:41:55 -0800 |
commit | 27e2c4ddca553cf6867bd49f2847ef007ac560c0 (patch) | |
tree | 5d0a8324178696c019c14b2829071639b8ca85a1 /pkg/sentry/fs/mounts_test.go | |
parent | 43643752f05a0b25259b116558ccd870a539cc05 (diff) |
Fix panic due to early transition to Closed.
The code in rcv.consumeSegment incorrectly transitions to
CLOSED state from LAST-ACK before the final ACK for the FIN.
Further if receiving a segment changes a socket to a closed state
then we should not invoke the sender as the socket is now closed
and sending any segments is incorrect.
PiperOrigin-RevId: 283625300
Diffstat (limited to 'pkg/sentry/fs/mounts_test.go')
0 files changed, 0 insertions, 0 deletions